]> granicus.if.org Git - python/log
python
12 years agoRemove a relative import that escaped test.test_importlib.
Brett Cannon [Sat, 21 Jul 2012 13:54:58 +0000 (09:54 -0400)]
Remove a relative import that escaped test.test_importlib.

12 years agoIssue #15184: Ensure consistent results of OS X configuration
Ned Deily [Sat, 21 Jul 2012 12:36:30 +0000 (05:36 -0700)]
Issue #15184: Ensure consistent results of OS X configuration
tailoring for universal builds by factoring out common OS X-specific
customizations from sysconfig, distutils.sysconfig, distutils.util,
and distutils.unixccompiler into a new module _osx_support that can
eventually also be used by packaging.

12 years agoFix test_pprint random dict ordering.
Florent Xicluna [Sat, 21 Jul 2012 10:45:02 +0000 (12:45 +0200)]
Fix test_pprint random dict ordering.

12 years agoFix test_pprint random dict ordering.
Florent Xicluna [Sat, 21 Jul 2012 10:44:20 +0000 (12:44 +0200)]
Fix test_pprint random dict ordering.

12 years agoIssues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable...
Florent Xicluna [Sat, 21 Jul 2012 09:22:33 +0000 (11:22 +0200)]
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.

12 years agoIssues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable...
Florent Xicluna [Sat, 21 Jul 2012 09:17:38 +0000 (11:17 +0200)]
Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with unorderable key.

12 years agoIssue #15410: Fix the urllib.request.Request.is_unverifiable deprecation documentation.
Meador Inge [Sat, 21 Jul 2012 00:50:41 +0000 (19:50 -0500)]
Issue #15410: Fix the urllib.request.Request.is_unverifiable deprecation documentation.

12 years agoIssue #15409: Replace use of deprecated urllib.request.Request methods in http.cookijar
Meador Inge [Sat, 21 Jul 2012 00:12:04 +0000 (19:12 -0500)]
Issue #15409: Replace use of deprecated urllib.request.Request methods in http.cookijar

Patch by Flávio Ribeiro.

12 years agoPort additional tests from #14579 (the issue is already fixed).
Antoine Pitrou [Fri, 20 Jul 2012 22:47:48 +0000 (00:47 +0200)]
Port additional tests from #14579 (the issue is already fixed).

12 years agoIssue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error...
Antoine Pitrou [Fri, 20 Jul 2012 22:45:14 +0000 (00:45 +0200)]
Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after error handling.
Patch by Serhiy Storchaka.

12 years agoIssue #15168: Ensure test_importlib subdirectories are installed.
Ned Deily [Fri, 20 Jul 2012 20:24:58 +0000 (13:24 -0700)]
Issue #15168: Ensure test_importlib subdirectories are installed.

12 years agoFix another import error.
Brett Cannon [Fri, 20 Jul 2012 19:42:34 +0000 (15:42 -0400)]
Fix another import error.

12 years agoFix an import from the importlib.test move.
Brett Cannon [Fri, 20 Jul 2012 19:40:57 +0000 (15:40 -0400)]
Fix an import from the importlib.test move.

12 years agoMove importlib.test.benchmark to Tools/importbench to make it more
Brett Cannon [Fri, 20 Jul 2012 18:54:53 +0000 (14:54 -0400)]
Move importlib.test.benchmark to Tools/importbench to make it more
visible and to place it with other micro-benchmarks (e.g.
stringbench).

12 years agoIssue #15168: Move importlb.test to test.test_importlib.
Brett Cannon [Fri, 20 Jul 2012 18:48:53 +0000 (14:48 -0400)]
Issue #15168: Move importlb.test to test.test_importlib.
This should make the Linux distros happy as it is now easier to leave
importlib's tests out of their base Python distribution.

12 years agoMerge
Brett Cannon [Fri, 20 Jul 2012 18:22:27 +0000 (14:22 -0400)]
Merge

12 years agoIssue #15091: Call importlib.invalidate_caches() and reactivate a test
Brett Cannon [Fri, 20 Jul 2012 18:22:04 +0000 (14:22 -0400)]
Issue #15091: Call importlib.invalidate_caches() and reactivate a test
of importing a symlinked package.

12 years agoRunning the importlib tests from test_import is redundant as there is
Brett Cannon [Fri, 20 Jul 2012 18:01:34 +0000 (14:01 -0400)]
Running the importlib tests from test_import is redundant as there is
no difference anymore between __import__ and importlib.__import__.

12 years agoIssue #15406: Fix deprecation warning in ctypes test_bitfields.py
Meador Inge [Fri, 20 Jul 2012 17:52:42 +0000 (12:52 -0500)]
Issue #15406: Fix deprecation warning in ctypes test_bitfields.py

Patch by Flávio Ribeiro.

12 years agoIssue #15406: Fix deprecation warning in ctypes test_bitfields.py
Meador Inge [Fri, 20 Jul 2012 17:48:34 +0000 (12:48 -0500)]
Issue #15406: Fix deprecation warning in ctypes test_bitfields.py

Patch by Flávio Ribeiro.

12 years agoClose #15386: There was a loophole that meant importlib.machinery and imp would somet...
Nick Coghlan [Fri, 20 Jul 2012 13:40:09 +0000 (23:40 +1000)]
Close #15386: There was a loophole that meant importlib.machinery and imp would sometimes reference an uninitialised copy of importlib._bootstrap

12 years agoAdd missing NEWS entry for changeset b79d276041a8
Ronald Oussoren [Fri, 20 Jul 2012 12:41:06 +0000 (14:41 +0200)]
Add missing NEWS entry for changeset b79d276041a8

12 years agoMerge heads
Andrew Svetlov [Fri, 20 Jul 2012 11:55:20 +0000 (14:55 +0300)]
Merge heads

12 years agoMerge 3.2
Andrew Svetlov [Fri, 20 Jul 2012 11:52:54 +0000 (14:52 +0300)]
Merge 3.2

12 years agoIssue #15404: Refleak in PyMethodObject repr.
Andrew Svetlov [Fri, 20 Jul 2012 11:51:45 +0000 (14:51 +0300)]
Issue #15404: Refleak in PyMethodObject repr.

12 years agoFix Visual Studio warning.
Stefan Krah [Fri, 20 Jul 2012 10:34:18 +0000 (12:34 +0200)]
Fix Visual Studio warning.

12 years agoCloses #15399: merged documentation fix from 3.2.
Vinay Sajip [Fri, 20 Jul 2012 08:51:20 +0000 (09:51 +0100)]
Closes #15399: merged documentation fix from 3.2.

12 years agoIssue #15399: Added versionchanged for processName.
Vinay Sajip [Fri, 20 Jul 2012 08:50:18 +0000 (09:50 +0100)]
Issue #15399: Added versionchanged for processName.

12 years agoIssue #15401: Fix typo in inspect.getclosurevars docstring.
Meador Inge [Fri, 20 Jul 2012 02:33:21 +0000 (21:33 -0500)]
Issue #15401: Fix typo in inspect.getclosurevars docstring.

12 years agoIssue #15365: Make traceback reporting ignore any errors when printing out
Kristján Valur Jónsson [Thu, 19 Jul 2012 21:02:03 +0000 (21:02 +0000)]
Issue #15365:  Make traceback reporting ignore any errors when printing out
the source line.  Such errors can't be reported anyway.  This makes error
reporting work, even if the "io" module can't be loaded.

12 years ago#1492704: Backout and wait for 3.4
Hynek Schlawack [Thu, 19 Jul 2012 19:41:02 +0000 (21:41 +0200)]
#1492704: Backout and wait for 3.4

12 years agoMERGE: Closes #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:32:07 +0000 (21:32 +0200)]
MERGE: Closes #15395: memory leaks in selectmodule.c

12 years agoCloses #15395: memory leaks in selectmodule.c
Jesus Cea [Thu, 19 Jul 2012 19:31:26 +0000 (21:31 +0200)]
Closes #15395: memory leaks in selectmodule.c

12 years agoMERGE: Closes #15396: memory leak in tkinter
Jesus Cea [Thu, 19 Jul 2012 19:18:45 +0000 (21:18 +0200)]
MERGE: Closes #15396: memory leak in tkinter

12 years agoCloses #15396: memory leak in tkinter
Jesus Cea [Thu, 19 Jul 2012 19:18:07 +0000 (21:18 +0200)]
Closes #15396: memory leak in tkinter

12 years agoIssue #15394: Fix ref leaks in PyModule_Create.
Meador Inge [Thu, 19 Jul 2012 18:51:59 +0000 (13:51 -0500)]
Issue #15394: Fix ref leaks in PyModule_Create.

Patch by Julia Lawall.

12 years agoIssue #15394: Fix ref leaks in PyModule_Create.
Meador Inge [Thu, 19 Jul 2012 18:45:43 +0000 (13:45 -0500)]
Issue #15394: Fix ref leaks in PyModule_Create.

Patch by Julia Lawall.

12 years ago#1492704: Make shutil.copyfile() raise a distinct SameFileError
Hynek Schlawack [Thu, 19 Jul 2012 18:23:49 +0000 (20:23 +0200)]
#1492704: Make shutil.copyfile() raise a distinct SameFileError

Patch by Atsuo Ishimoto.

12 years agoIssue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
Meador Inge [Thu, 19 Jul 2012 05:14:35 +0000 (00:14 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.

12 years agoIssue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.
Meador Inge [Thu, 19 Jul 2012 05:01:22 +0000 (00:01 -0500)]
Issue #6493: Fix handling of c_uint32 bitfields with width of 32 on Windows.

12 years agoremove unused variable
Meador Inge [Wed, 18 Jul 2012 23:08:49 +0000 (18:08 -0500)]
remove unused variable

12 years agoremove unused variable
Meador Inge [Wed, 18 Jul 2012 22:57:46 +0000 (17:57 -0500)]
remove unused variable

12 years agoremove unused variable
Benjamin Peterson [Wed, 18 Jul 2012 22:12:47 +0000 (15:12 -0700)]
remove unused variable

12 years agoIssue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 21:49:07 +0000 (16:49 -0500)]
Issue #15368: fixing variable typo.

12 years agoIssue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 21:41:03 +0000 (16:41 -0500)]
Issue #15368: fixing variable typo.

12 years agoIssue #15368: make bytecode generation deterministic.
Meador Inge [Wed, 18 Jul 2012 19:28:55 +0000 (14:28 -0500)]
Issue #15368: make bytecode generation deterministic.

12 years agoIssue #15368: make bytecode generation deterministic.
Meador Inge [Wed, 18 Jul 2012 19:20:11 +0000 (14:20 -0500)]
Issue #15368: make bytecode generation deterministic.

12 years agoFix importlib.machinery.all_suffixes docs
Nick Coghlan [Wed, 18 Jul 2012 13:59:08 +0000 (23:59 +1000)]
Fix importlib.machinery.all_suffixes docs

12 years agoClose #15387: inspect.getmodulename() now uses a new importlib.machinery.all_suffixes...
Nick Coghlan [Wed, 18 Jul 2012 13:14:57 +0000 (23:14 +1000)]
Close #15387: inspect.getmodulename() now uses a new importlib.machinery.all_suffixes() API rather than the deprecated inspect.getmoduleinfo()

12 years agoCloses #15307: symlinks now work on OS X with framework Python builds. Patch by...
Vinay Sajip [Tue, 17 Jul 2012 16:33:46 +0000 (17:33 +0100)]
Closes #15307: symlinks now work on  OS X with framework Python builds. Patch by Ronald Oussoren.

12 years agoUse posixpath.join() explicitely in posixpath.join() test
Hynek Schlawack [Tue, 17 Jul 2012 12:29:33 +0000 (14:29 +0200)]
Use posixpath.join() explicitely in posixpath.join() test

Used os.path.join before which has different semantics on Windows.

12 years agoUse posixpath.join() explicitely in posixpath.join() test
Hynek Schlawack [Tue, 17 Jul 2012 12:28:44 +0000 (14:28 +0200)]
Use posixpath.join() explicitely in posixpath.join() test

Used os.path.join before which has different semantics on Windows.

12 years agofix whitespace woes
Eli Bendersky [Tue, 17 Jul 2012 12:09:56 +0000 (15:09 +0300)]
fix whitespace woes

12 years agoOptimize tostringlist by taking the stream class outside the function. It's now 2x...
Eli Bendersky [Tue, 17 Jul 2012 12:09:12 +0000 (15:09 +0300)]
Optimize tostringlist by taking the stream class outside the function. It's now 2x faster on short calls. Related to #1767933

12 years agoIssue #15314: Tweak a pkgutil test to hopefully be more Windows friendly
Nick Coghlan [Tue, 17 Jul 2012 11:37:58 +0000 (21:37 +1000)]
Issue #15314: Tweak a pkgutil test to hopefully be more Windows friendly

12 years agoMerge for #14988
Eli Bendersky [Tue, 17 Jul 2012 11:25:14 +0000 (14:25 +0300)]
Merge for #14988

12 years agomerge heads
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads

12 years agoISsue #14988: restore Python 2's behavior of raising ImportError when unable to load...
Eli Bendersky [Tue, 17 Jul 2012 11:20:38 +0000 (14:20 +0300)]
ISsue #14988: restore Python 2's behavior of raising ImportError when unable to load pyexpat, instead of a SystemError/RuntimeError

12 years ago#15377: Make posixpath.join() more strict when checking for str/bytes mix
Hynek Schlawack [Tue, 17 Jul 2012 11:10:15 +0000 (13:10 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix

Based on a patch by Nick Coghlan.

12 years ago#15377: Make posixpath.join() more strict when checking for str/bytes mix
Hynek Schlawack [Tue, 17 Jul 2012 11:05:43 +0000 (13:05 +0200)]
#15377: Make posixpath.join() more strict when checking for str/bytes mix

Based on a patch by Nick Coghlan.

12 years agoMerge Issue #15230 OS X buildbot fix from 3.2
Nick Coghlan [Tue, 17 Jul 2012 10:43:40 +0000 (20:43 +1000)]
Merge Issue #15230 OS X buildbot fix from 3.2

12 years agoIssue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symli...
Nick Coghlan [Tue, 17 Jul 2012 10:42:39 +0000 (20:42 +1000)]
Issue #15230: Attempt to make the OS X buildbots happy by resolving the tmp dir symlink in the test suite

12 years agoFix context manager use in posixpath.join() tests
Hynek Schlawack [Tue, 17 Jul 2012 08:50:30 +0000 (10:50 +0200)]
Fix context manager use in posixpath.join() tests

The asserts were useless (and buggy).

12 years agoFix context manager use in posixpath.join() tests
Hynek Schlawack [Tue, 17 Jul 2012 08:48:19 +0000 (10:48 +0200)]
Fix context manager use in posixpath.join() tests

The asserts were useless (and buggy).

12 years agoPreserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test...
Eli Bendersky [Tue, 17 Jul 2012 02:45:11 +0000 (05:45 +0300)]
Preserve the invariant tostring(elem) == b''.join(tostringlist(elem)) and add a test to make sure it keeps working

12 years agoone more test fix for systems without select.poll. tested by deleting
Gregory P. Smith [Mon, 16 Jul 2012 22:49:19 +0000 (15:49 -0700)]
one more test fix for systems without select.poll.  tested by deleting
select.poll before running.  works both ways (finally).  this should
fix the windows build.

12 years agoone more test fix for systems without select.poll. tested by deleting
Gregory P. Smith [Mon, 16 Jul 2012 22:48:30 +0000 (15:48 -0700)]
one more test fix for systems without select.poll.  tested by deleting
select.poll before running.  works both ways (finally).  this should fix
the windows build.

12 years agoFix unchecked select.poll reference in setUp and tearDown for
Gregory P. Smith [Mon, 16 Jul 2012 20:39:10 +0000 (13:39 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.

12 years agoFix unchecked select.poll reference in setUp and tearDown for
Gregory P. Smith [Mon, 16 Jul 2012 20:38:45 +0000 (13:38 -0700)]
Fix unchecked select.poll reference in setUp and tearDown for
platforms that don't have it.

12 years agoFix the with_poll tests for platforms without poll. missing import.
Gregory P. Smith [Mon, 16 Jul 2012 20:35:20 +0000 (13:35 -0700)]
Fix the with_poll tests for platforms without poll.  missing import.

12 years agoFix the with_poll tests for platforms without poll. missing import.
Gregory P. Smith [Mon, 16 Jul 2012 20:34:50 +0000 (13:34 -0700)]
Fix the with_poll tests for platforms without poll.  missing import.

12 years agoCloses #15367: Corrected computation of include locations for source builds on Window...
Vinay Sajip [Mon, 16 Jul 2012 17:30:03 +0000 (18:30 +0100)]
Closes #15367: Corrected computation of include locations for source builds on Windows. Thanks to Richard Oudkerk for the bug report and patch.

12 years agoCloses #15366: Corrected computation of include location for source builds. Thanks...
Vinay Sajip [Mon, 16 Jul 2012 17:24:55 +0000 (18:24 +0100)]
Closes #15366: Corrected computation of include location for source builds. Thanks to Richard Oudkerk for the bug report and patch.

12 years ago#15238: Fix xattr related shutil.copystat tests
Hynek Schlawack [Mon, 16 Jul 2012 15:11:10 +0000 (17:11 +0200)]
#15238: Fix xattr related shutil.copystat tests

- Loosen up test as Fedora has implicit xattrs
- Actually test the destination for xattrs

Should make Fedora buildbot green again.

12 years agoFix typo
Raymond Hettinger [Mon, 16 Jul 2012 09:07:41 +0000 (02:07 -0700)]
Fix typo

12 years agoClean-up example
Raymond Hettinger [Mon, 16 Jul 2012 06:53:32 +0000 (23:53 -0700)]
Clean-up example

12 years agoFixes Issue #14635: telnetlib will use poll() rather than select() when possible
Gregory P. Smith [Mon, 16 Jul 2012 06:44:49 +0000 (23:44 -0700)]
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.

12 years agoFixes Issue #14635: telnetlib will use poll() rather than select() when possible
Gregory P. Smith [Mon, 16 Jul 2012 06:42:26 +0000 (23:42 -0700)]
Fixes Issue #14635: telnetlib will use poll() rather than select() when possible
to avoid failing due to the select() file descriptor limit.

12 years agocm.parents is property, not a method
Raymond Hettinger [Mon, 16 Jul 2012 05:37:20 +0000 (22:37 -0700)]
cm.parents is property, not a method

12 years agoIssue #13590: Improve support for OS X Xcode 4:
Ned Deily [Mon, 16 Jul 2012 04:30:03 +0000 (21:30 -0700)]
Issue #13590: Improve support for OS X Xcode 4:
- fix test_distutils and test_sysconfig test failures by
  aligning sysconfig and distutils.sysconfig tailoring of
  configure variables (as in 2.7)

12 years agoDoc fix: the text role is called "func", not "funk".
Larry Hastings [Mon, 16 Jul 2012 00:32:36 +0000 (17:32 -0700)]
Doc fix: the text role is called "func", not "funk".

12 years ago#4640: Add optparse tests for '-xxx' invalid when defining options.
R David Murray [Mon, 16 Jul 2012 00:12:24 +0000 (20:12 -0400)]
#4640: Add optparse tests for '-xxx' invalid when defining options.

Patch by Aaron (hac.man).

12 years agoIssue #15202: Additional documentation fixes inadvertently omitted
Larry Hastings [Sun, 15 Jul 2012 23:58:29 +0000 (16:58 -0700)]
Issue #15202: Additional documentation fixes inadvertently omitted
from previous checkin.

12 years agoCloses #15361: Corrected venv prompt in PowerShell activation script.
Vinay Sajip [Sun, 15 Jul 2012 20:58:13 +0000 (21:58 +0100)]
Closes #15361: Corrected venv prompt in PowerShell activation script.

12 years agoIssue #15202: Consistently use the name "follow_symlinks" for
Larry Hastings [Sun, 15 Jul 2012 17:57:38 +0000 (10:57 -0700)]
Issue #15202: Consistently use the name "follow_symlinks" for
new parameters in os and shutil functions.  Patch by Serhiy Storchaka.

12 years agoIssue #15307: Skipped test_venv:test_prefixes when run from a venv.
Vinay Sajip [Sun, 15 Jul 2012 15:12:54 +0000 (16:12 +0100)]
Issue #15307: Skipped test_venv:test_prefixes when run from a venv.

12 years ago#15180: Clarify posixpath.join() error message when mixing str & bytes
Hynek Schlawack [Sun, 15 Jul 2012 14:46:23 +0000 (16:46 +0200)]
#15180: Clarify posixpath.join() error message when mixing str & bytes

12 years ago#15180: Clarify posixpath.join() error message when mixing str & bytes
Hynek Schlawack [Sun, 15 Jul 2012 14:21:30 +0000 (16:21 +0200)]
#15180: Clarify posixpath.join() error message when mixing str & bytes

12 years agoRefcounting fixes
Nick Coghlan [Sun, 15 Jul 2012 13:21:08 +0000 (23:21 +1000)]
Refcounting fixes

12 years agoMake set_main_loader static (noticed by Antoine Pitrou)
Nick Coghlan [Sun, 15 Jul 2012 13:18:08 +0000 (23:18 +1000)]
Make set_main_loader static (noticed by Antoine Pitrou)

12 years agoFix typo in a comment (noticed by Terry Reedy)
Nick Coghlan [Sun, 15 Jul 2012 13:13:18 +0000 (23:13 +1000)]
Fix typo in a comment (noticed by Terry Reedy)

12 years agoUpdate the pkgutil porting section in What's New. This should cause significantly...
Nick Coghlan [Sun, 15 Jul 2012 12:39:39 +0000 (22:39 +1000)]
Update the pkgutil porting section in What's New. This should cause significantly fewer problems after today's updates

12 years agoIssue #9319: Remove the workaround for this since fixed problem from pydoc
Nick Coghlan [Sun, 15 Jul 2012 12:17:02 +0000 (22:17 +1000)]
Issue #9319: Remove the workaround for this since fixed problem from pydoc

12 years agoIssue #15343: A lot more than just unicode decoding can go wrong when retrieving...
Nick Coghlan [Sun, 15 Jul 2012 12:12:14 +0000 (22:12 +1000)]
Issue #15343: A lot more than just unicode decoding can go wrong when retrieving a source file

12 years agoIssue #15343: Handle importlib.machinery.FileFinder instances in pkgutil.walk_package...
Nick Coghlan [Sun, 15 Jul 2012 11:19:18 +0000 (21:19 +1000)]
Issue #15343: Handle importlib.machinery.FileFinder instances in pkgutil.walk_packages (et al)

12 years agoActually initialize __main__.__loader__ with loader instances, not the corresponding...
Nick Coghlan [Sun, 15 Jul 2012 09:10:39 +0000 (19:10 +1000)]
Actually initialize __main__.__loader__ with loader instances, not the corresponding type objects

12 years agoRemove a statement that was only added for debugging purposes
Nick Coghlan [Sun, 15 Jul 2012 08:29:24 +0000 (18:29 +1000)]
Remove a statement that was only added for debugging purposes

12 years agoNote why we can't write an automated test for the code path that brings up the REPL...
Nick Coghlan [Sun, 15 Jul 2012 08:24:42 +0000 (18:24 +1000)]
Note why we can't write an automated test for the code path that brings up the REPL for a bare 'python' call

12 years agoTake the first step in resolving the messy pkgutil vs importlib edge cases by basing...
Nick Coghlan [Sun, 15 Jul 2012 08:09:52 +0000 (18:09 +1000)]
Take the first step in resolving the messy pkgutil vs importlib edge cases by basing pkgutil explicitly on importlib, deprecating its internal import emulation and setting __main__.__loader__ correctly so that runpy still works (Affects #15343, #15314, #15357)

12 years agoIssue #9458: clarify the documentation of ElementTree.write with regards to the type...
Eli Bendersky [Sun, 15 Jul 2012 03:19:44 +0000 (06:19 +0300)]
Issue #9458: clarify the documentation of ElementTree.write with regards to the type of the stream expected for a given encoding