]>
granicus.if.org Git - python/log
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
Ronald Oussoren [Fri, 20 Jul 2012 12:41:06 +0000 (14:41 +0200)]
Add missing NEWS entry for changeset
b79d276041a8
Andrew Svetlov [Fri, 20 Jul 2012 11:55:20 +0000 (14:55 +0300)]
Merge heads
Andrew Svetlov [Fri, 20 Jul 2012 11:52:54 +0000 (14:52 +0300)]
Merge 3.2
Andrew Svetlov [Fri, 20 Jul 2012 11:51:45 +0000 (14:51 +0300)]
Issue #15404: Refleak in PyMethodObject repr.
Stefan Krah [Fri, 20 Jul 2012 10:34:18 +0000 (12:34 +0200)]
Fix Visual Studio warning.
Vinay Sajip [Fri, 20 Jul 2012 08:51:20 +0000 (09:51 +0100)]
Closes #15399: merged documentation fix from 3.2.
Vinay Sajip [Fri, 20 Jul 2012 08:50:18 +0000 (09:50 +0100)]
Issue #15399: Added versionchanged for processName.
Meador Inge [Fri, 20 Jul 2012 02:33:21 +0000 (21:33 -0500)]
Issue #15401: Fix typo in inspect.getclosurevars docstring.
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.
Hynek Schlawack [Thu, 19 Jul 2012 19:41:02 +0000 (21:41 +0200)]
#
1492704 : Backout and wait for 3.4
Jesus Cea [Thu, 19 Jul 2012 19:32:07 +0000 (21:32 +0200)]
MERGE: Closes #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
Jesus Cea [Thu, 19 Jul 2012 19:18:45 +0000 (21:18 +0200)]
MERGE: Closes #15396: memory leak in tkinter
Jesus Cea [Thu, 19 Jul 2012 19:18:07 +0000 (21:18 +0200)]
Closes #15396: memory leak in tkinter
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.
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.
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.
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.
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.
Meador Inge [Wed, 18 Jul 2012 23:08:49 +0000 (18:08 -0500)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 22:57:46 +0000 (17:57 -0500)]
remove unused variable
Benjamin Peterson [Wed, 18 Jul 2012 22:12:47 +0000 (15:12 -0700)]
remove unused variable
Meador Inge [Wed, 18 Jul 2012 21:49:07 +0000 (16:49 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 21:41:03 +0000 (16:41 -0500)]
Issue #15368: fixing variable typo.
Meador Inge [Wed, 18 Jul 2012 19:28:55 +0000 (14:28 -0500)]
Issue #15368: make bytecode generation deterministic.
Meador Inge [Wed, 18 Jul 2012 19:20:11 +0000 (14:20 -0500)]
Issue #15368: make bytecode generation deterministic.
Nick Coghlan [Wed, 18 Jul 2012 13:59:08 +0000 (23:59 +1000)]
Fix importlib.machinery.all_suffixes docs
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()
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.
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.
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.
Eli Bendersky [Tue, 17 Jul 2012 12:09:56 +0000 (15:09 +0300)]
fix whitespace woes
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
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
Eli Bendersky [Tue, 17 Jul 2012 11:25:14 +0000 (14:25 +0300)]
Merge for #14988
Eli Bendersky [Tue, 17 Jul 2012 11:22:01 +0000 (14:22 +0300)]
merge heads
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
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.
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.
Nick Coghlan [Tue, 17 Jul 2012 10:43:40 +0000 (20:43 +1000)]
Merge Issue #15230 OS X buildbot fix from 3.2
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
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).
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).
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
Raymond Hettinger [Mon, 16 Jul 2012 09:07:41 +0000 (02:07 -0700)]
Fix typo
Raymond Hettinger [Mon, 16 Jul 2012 06:53:32 +0000 (23:53 -0700)]
Clean-up example
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.
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.
Raymond Hettinger [Mon, 16 Jul 2012 05:37:20 +0000 (22:37 -0700)]
cm.parents is property, not a method
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)
Larry Hastings [Mon, 16 Jul 2012 00:32:36 +0000 (17:32 -0700)]
Doc fix: the text role is called "func", not "funk".
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).
Larry Hastings [Sun, 15 Jul 2012 23:58:29 +0000 (16:58 -0700)]
Issue #15202: Additional documentation fixes inadvertently omitted
from previous checkin.
Vinay Sajip [Sun, 15 Jul 2012 20:58:13 +0000 (21:58 +0100)]
Closes #15361: Corrected venv prompt in PowerShell activation script.
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.
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.
Hynek Schlawack [Sun, 15 Jul 2012 14:46:23 +0000 (16:46 +0200)]
#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
Nick Coghlan [Sun, 15 Jul 2012 13:21:08 +0000 (23:21 +1000)]
Refcounting fixes
Nick Coghlan [Sun, 15 Jul 2012 13:18:08 +0000 (23:18 +1000)]
Make set_main_loader static (noticed by Antoine Pitrou)
Nick Coghlan [Sun, 15 Jul 2012 13:13:18 +0000 (23:13 +1000)]
Fix typo in a comment (noticed by Terry Reedy)
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
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
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
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)
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
Nick Coghlan [Sun, 15 Jul 2012 08:29:24 +0000 (18:29 +1000)]
Remove a statement that was only added for debugging purposes
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
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)
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
Eli Bendersky [Sun, 15 Jul 2012 03:02:22 +0000 (06:02 +0300)]
Close #
1767933 : Badly formed XML using etree and utf-16. Patch by Serhiy Storchaka, with some minor fixes by me
Larry Hastings [Sun, 15 Jul 2012 01:20:37 +0000 (18:20 -0700)]
- Issue #15233: Python now guarantees that callables registered with
the atexit module will be called in a deterministic order.
Raymond Hettinger [Sun, 15 Jul 2012 00:58:29 +0000 (17:58 -0700)]
Fix-up latex styling
Larry Hastings [Sun, 15 Jul 2012 00:55:11 +0000 (17:55 -0700)]
- Issue #15238: shutil.copystat now copies Linux "extended attributes".
Gregory P. Smith [Sat, 14 Jul 2012 21:12:35 +0000 (14:12 -0700)]
Update the embedded copy of the expat XML parser to 2.1.0. It brings
with it a vareity of bug fixes, both security and behavior. See
http://www.libexpat.org/ for the list.
NOTE: I already backported the expat hash randomization fix in March.
Fixes issue #14340.
Brett Cannon [Sat, 14 Jul 2012 18:30:48 +0000 (14:30 -0400)]
Minor grammatical tweaks.
Eli Bendersky [Sat, 14 Jul 2012 18:22:25 +0000 (21:22 +0300)]
Some small fixes and clarifications to the io documentation
Nick Coghlan [Sat, 14 Jul 2012 14:38:43 +0000 (00:38 +1000)]
Merge #15230 doc updates from 3.2
Nick Coghlan [Sat, 14 Jul 2012 14:36:39 +0000 (00:36 +1000)]
Issue #15230: Update runpy docs to clarify a couple of points that came up in this issue
Nick Coghlan [Sat, 14 Jul 2012 14:07:43 +0000 (00:07 +1000)]
Merge fix for #15230 from 3.2
Nick Coghlan [Sat, 14 Jul 2012 13:59:22 +0000 (23:59 +1000)]
Close #15230: runpy.run_path now sets __package__ correctly. Also refactored the runpy tests to use a more systematic approach
Ned Deily [Fri, 13 Jul 2012 22:48:04 +0000 (15:48 -0700)]
Issue #15241: Fix test_prefixes failure in test_venv due to symlink in
tempfile directory path (i.e. on OS X /tmp is actually /private/tmp).
Antoine Pitrou [Fri, 13 Jul 2012 20:49:55 +0000 (22:49 +0200)]
Try other approach to fix issue #15334.
Antoine Pitrou [Fri, 13 Jul 2012 20:46:41 +0000 (22:46 +0200)]
Try other approach to fix issue #15334.
Antoine Pitrou [Fri, 13 Jul 2012 19:14:03 +0000 (21:14 +0200)]
Null merge
Antoine Pitrou [Fri, 13 Jul 2012 19:13:25 +0000 (21:13 +0200)]
Remove duplicate entry and fix order
Antoine Pitrou [Fri, 13 Jul 2012 19:10:17 +0000 (21:10 +0200)]
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Antoine Pitrou [Fri, 13 Jul 2012 19:08:41 +0000 (21:08 +0200)]
Issue #15334: skip test_dynamic_key when run in non-interactive mode.
Patch by Jeremy Kloth.
Antoine Pitrou [Fri, 13 Jul 2012 18:59:35 +0000 (20:59 +0200)]
Merge
Antoine Pitrou [Fri, 13 Jul 2012 18:59:19 +0000 (20:59 +0200)]
Issue #15338: skip test_UNC_path when the current user doesn't have enough permissions to access the path.