]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 12 May 2013 09:51:26 +0000 (11:51 +0200)]
merge with 3.2
Georg Brandl [Sun, 12 May 2013 09:29:27 +0000 (11:29 +0200)]
Issue #
1159051 : Back out a fix for handling corrupted gzip files that
broke backwards compatibility.
Georg Brandl [Sun, 12 May 2013 09:24:47 +0000 (11:24 +0200)]
merge heads
Benjamin Peterson [Sun, 12 May 2013 03:24:28 +0000 (22:24 -0500)]
prevent IDLE from trying to close when sys.stdin is reassigned (#17838)
Benjamin Peterson [Sat, 11 May 2013 21:29:03 +0000 (16:29 -0500)]
only close non-None files
Benjamin Peterson [Sat, 11 May 2013 18:00:05 +0000 (13:00 -0500)]
-Wformat is needed by gcc 4.8 (closes #17547)
Antoine Pitrou [Sat, 11 May 2013 13:58:34 +0000 (15:58 +0200)]
Issue #17237: Fix crash in the ASCII decoder on m68k.
Barry Warsaw [Fri, 10 May 2013 15:35:38 +0000 (11:35 -0400)]
I was confused before. It's correct to not call .close() inside the with
statement, but add a comment that clarifies the purpose of the code.
Ezio Melotti [Fri, 10 May 2013 02:21:35 +0000 (05:21 +0300)]
#17841: remove missing codecs aliases from the documentation. Patch by Thomas Fenzl.
Andrew Kuchling [Fri, 10 May 2013 00:05:20 +0000 (20:05 -0400)]
#17700: update the curses HOWTO for 3.x
Ezio Melotti [Thu, 9 May 2013 12:33:53 +0000 (15:33 +0300)]
#17938: remove duplicate paragraphs.
Ezio Melotti [Thu, 9 May 2013 12:19:45 +0000 (15:19 +0300)]
#17809: fix a test failure in test_expanduser when $HOME has a trailing /. Patch by Kubilay Kocak.
Serhiy Storchaka [Thu, 9 May 2013 11:22:26 +0000 (14:22 +0300)]
Issue #16601: Restarting iteration over tarfile no more continues from where
it left off. Patch by Michael Birtwell.
Ezio Melotti [Wed, 8 May 2013 08:16:02 +0000 (11:16 +0300)]
#17877: skip test if the Olson's TZ database is missing.
Ezio Melotti [Wed, 8 May 2013 07:53:11 +0000 (10:53 +0300)]
#16523: improve attrgetter/itemgetter/methodcaller documentation.
Ezio Melotti [Tue, 7 May 2013 08:14:27 +0000 (11:14 +0300)]
#17714: document that the base64 codec adds a trailing newline.
Ezio Melotti [Tue, 7 May 2013 06:46:30 +0000 (09:46 +0300)]
#17871: fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari.
Raymond Hettinger [Tue, 7 May 2013 01:22:43 +0000 (18:22 -0700)]
Issue 17920: Fix-up terminology in the set documentation
Antoine Pitrou [Mon, 6 May 2013 19:51:03 +0000 (21:51 +0200)]
Issue #17289: The readline module now plays nicer with external modules or applications changing the rl_completer_word_break_characters global variable.
Initial patch by Bradley Froehle.
Charles-Francois Natali [Mon, 6 May 2013 19:24:31 +0000 (21:24 +0200)]
Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
platforms. Patch by Federico Schwindt.
David Malcolm [Mon, 6 May 2013 18:47:15 +0000 (14:47 -0400)]
#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb.PyBtTests)
R David Murray [Mon, 6 May 2013 16:58:16 +0000 (12:58 -0400)]
#14187: Add glossary entry for 'function annotations'.
Patch by Chris Rebert.
Richard Oudkerk [Mon, 6 May 2013 11:10:04 +0000 (12:10 +0100)]
Issue #17805: Add AsyncResult alias for ApplyResult
Roger Serwy [Mon, 6 May 2013 03:15:44 +0000 (22:15 -0500)]
#13495: Avoid loading the color delegator twice in IDLE.
Raymond Hettinger [Mon, 6 May 2013 02:53:41 +0000 (19:53 -0700)]
Issue 17862: Improve the signature of itertools grouper() recipe.
Putting *n* after the *iterable* matches the signature of other itertools
and recipes. Also, it reads better.
Suggested by Ezio Melotti.
Roger Serwy [Sun, 5 May 2013 16:34:21 +0000 (11:34 -0500)]
#17798: Allow IDLE to edit new files when specified on command line.
Antoine Pitrou [Sun, 5 May 2013 06:12:42 +0000 (08:12 +0200)]
Fix crash caused by
8c1385205a35
(thanks Arfrever for reporting).
Brett Cannon [Sat, 4 May 2013 22:11:12 +0000 (18:11 -0400)]
Fix a test to not use an assertion for something that could be
legitimately false.
Antoine Pitrou [Sat, 4 May 2013 21:16:59 +0000 (23:16 +0200)]
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
Antoine Pitrou [Sat, 4 May 2013 18:45:02 +0000 (20:45 +0200)]
Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again.
Antoine Pitrou [Sat, 4 May 2013 18:18:34 +0000 (20:18 +0200)]
Elaborate on bytes-like objects.
Ezio Melotti [Sat, 4 May 2013 15:06:34 +0000 (18:06 +0300)]
#16518: use "bytes-like object" throughout the docs.
Ezio Melotti [Sat, 4 May 2013 14:46:23 +0000 (17:46 +0300)]
#7855: Add tests for ctypes/winreg for issues found in IronPython. Initial patch by Dino Viehland.
Serhiy Storchaka [Sat, 4 May 2013 12:12:55 +0000 (15:12 +0300)]
Issue #16316: mimetypes now recognizes the .xz and .txz (.tar.xz) extensions.
Brett Cannon [Fri, 3 May 2013 14:37:08 +0000 (10:37 -0400)]
Issue #15902: Fix imp.load_module() to accept None as a file when
trying to load an extension module.
While at it, also add a proper unittest.skipIf() guard to another test
involving imp.load_dynamic().
Raymond Hettinger [Fri, 3 May 2013 09:24:15 +0000 (02:24 -0700)]
Issue #15535: Fix pickling of named tuples.
Ezio Melotti [Wed, 1 May 2013 13:18:25 +0000 (16:18 +0300)]
#17802: Fix an UnboundLocalError in html.parser. Initial tests by Thomas Barlow.
Charles-Francois Natali [Wed, 1 May 2013 13:12:20 +0000 (15:12 +0200)]
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.
Antoine Pitrou [Tue, 30 Apr 2013 22:15:44 +0000 (00:15 +0200)]
Issue #17712: Fix test_gdb failures on Ubuntu 13.04.
Ezio Melotti [Tue, 30 Apr 2013 20:33:31 +0000 (23:33 +0300)]
#16518: add "bytes-like object" to the glossary.
Ezio Melotti [Tue, 30 Apr 2013 13:34:04 +0000 (16:34 +0300)]
#17881: clarify documentation of plistlib.
Gregory P. Smith [Tue, 30 Apr 2013 08:01:54 +0000 (01:01 -0700)]
fix the news entry, the description in 3.3 should be different
than the one merged from 3.2 to match the actual changes here.
Gregory P. Smith [Tue, 30 Apr 2013 07:58:24 +0000 (00:58 -0700)]
news entry
Gregory P. Smith [Tue, 30 Apr 2013 07:57:18 +0000 (00:57 -0700)]
news entry
Gregory P. Smith [Tue, 30 Apr 2013 07:05:50 +0000 (00:05 -0700)]
null merge
Gregory P. Smith [Tue, 30 Apr 2013 07:05:25 +0000 (00:05 -0700)]
This local change was lost during the fixing of issue17192 to update
libffi to 3.0.13. (i'm not sure if it is needed anymore but see
issue 10309 for details which makes no mention of upstream; this
change is already in 3.3 and 3.4 but may need reapplying to 2.7
as done here)
Gregory P. Smith [Tue, 30 Apr 2013 07:03:01 +0000 (00:03 -0700)]
* Fix remaining bits of issue 17192 for 3.3 - these changes
were missing from a messed up merge during the libffi 3.0.13
import. the diffs from upstream libffi 3.0.13 are now small.
Gregory P. Smith [Tue, 30 Apr 2013 06:47:17 +0000 (23:47 -0700)]
* Fix PART of issue 17192 for 3.3 - reapply the issue11729 patch
that was undone in the merge fun from upstream which already
had it in 3.0.13.
* Add the missing update to libffi.info.
Gregory P. Smith [Tue, 30 Apr 2013 06:45:38 +0000 (23:45 -0700)]
* Fix issue 17192 for 3.2 - reapply the issue11729 patch that was undone
in the merge fun from upstream which already had it in 3.0.13.
* Add the missing update to libffi.info.
Benjamin Peterson [Mon, 29 Apr 2013 14:23:08 +0000 (10:23 -0400)]
ignore errors when trying to fetch sys.stdin.encoding (closes #17863)
Benjamin Peterson [Mon, 29 Apr 2013 13:08:14 +0000 (09:08 -0400)]
raise an ImportError (rather than fatal) when __import__ is not found in __builtins__ (closes #17867)
R David Murray [Sun, 28 Apr 2013 21:06:01 +0000 (17:06 -0400)]
#7152: Remove incorrectly added reference to DataHandler.
Brett Cannon [Sun, 28 Apr 2013 15:53:26 +0000 (11:53 -0400)]
Issue #17358: imp.load_source() and load_compiled() should now return
modules which will typically work when reloaded.
A hack is used to support these functions as their API allowed them to
pass in a file object but then operate as if import had loaded them.
Unfortunately the hack kept a reference around for the file object
passed in which would be unusable on reload since it had been closed.
The solution is to simply use the hack for the initial load but then a
proper loader on the module so that imp.reload() at least has a chance
to work.
R David Murray [Sun, 28 Apr 2013 15:24:35 +0000 (11:24 -0400)]
Reflow paragraphs.
I know one of them looks worse, but now it is <80 chars and
matches the 2.7 text.
R David Murray [Sun, 28 Apr 2013 15:07:16 +0000 (11:07 -0400)]
#7152: Clarify that ProxyHandler is added only if proxy settings are detected.
Behavior confirmation and initial patch by Jessica McKellar.
Serhiy Storchaka [Sun, 28 Apr 2013 12:56:11 +0000 (15:56 +0300)]
Added base64 module tests for non-binary files.
Serhiy Storchaka [Sun, 28 Apr 2013 12:53:08 +0000 (15:53 +0300)]
Issue #17842. Added base64 module tests with bytearray arguments.
Original patch by Kushal Das.
Serhiy Storchaka [Sun, 28 Apr 2013 11:10:27 +0000 (14:10 +0300)]
Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
such as was shipped with Centos 5 and Mac OS X 10.4.
Georg Brandl [Sun, 12 May 2013 09:11:51 +0000 (11:11 +0200)]
Issue #17843: Remove bz2 test data that triggers antivirus warnings.
Georg Brandl [Sun, 12 May 2013 09:09:11 +0000 (11:09 +0200)]
Issue #15535: Fix pickling of named tuples.
Serhiy Storchaka [Sun, 28 Apr 2013 11:10:27 +0000 (14:10 +0300)]
Issue #17857: Prevent build failures with pre-3.5.0 versions of sqlite3,
such as was shipped with Centos 5 and Mac OS X 10.4.
Brett Cannon [Sun, 28 Apr 2013 03:20:32 +0000 (23:20 -0400)]
Issue #17357: Use more stern wording for
importlib.invalidate_caches().
Antoine Pitrou [Wed, 24 Apr 2013 21:31:38 +0000 (23:31 +0200)]
Issue #17835: Fix test_io when the default OS pipe buffer size is larger than one million bytes.
Łukasz Langa [Tue, 23 Apr 2013 23:49:52 +0000 (01:49 +0200)]
clean the environment from pre-existing PYTHONWARNINGS for test_warnings
Łukasz Langa [Tue, 23 Apr 2013 23:29:26 +0000 (01:29 +0200)]
backported rev 79713 from 3.4, test_recursion_limit skipped for -O0
Łukasz Langa [Tue, 23 Apr 2013 23:25:18 +0000 (01:25 +0200)]
fix character index in ExtendedInterpolation's exception message
Ronald Oussoren [Tue, 23 Apr 2013 11:47:22 +0000 (13:47 +0200)]
Ensure that plistlib doesn't corrupt deeply nested datastructures
Without this changeset plistlib would write empty tags for plistlib.Data
objects in deeply nested datastructures.
Fixes #17353
Ezio Melotti [Tue, 23 Apr 2013 06:56:30 +0000 (09:56 +0300)]
#17729: remove the Advocacy HOWTO from the index.
Ezio Melotti [Tue, 23 Apr 2013 06:24:51 +0000 (09:24 +0300)]
#17729: remove the outdated Advocacy HOWTO, as suggested by the author.
Serhiy Storchaka [Mon, 22 Apr 2013 19:51:43 +0000 (22:51 +0300)]
Issue #11714: Use 'with' statements to assure a Semaphore releases a
condition variable. Original patch by Thomas Rachel.
Eli Bendersky [Mon, 22 Apr 2013 12:25:25 +0000 (05:25 -0700)]
Issue #17736: fix misleading comment in _elementtree.c
Patch by Jonas Wagner
Vinay Sajip [Mon, 22 Apr 2013 09:07:40 +0000 (10:07 +0100)]
Issue #17795: Reverted backwards-incompatible change in SysLogHandler with Unix domain sockets.
R David Murray [Sun, 21 Apr 2013 20:58:36 +0000 (16:58 -0400)]
#15575: Clarify tutorial description of when modules are executed.
Ned Deily [Sun, 21 Apr 2013 20:05:21 +0000 (13:05 -0700)]
Issue #17670: Provide an example of expandtabs() usage.
R David Murray [Sun, 21 Apr 2013 14:08:02 +0000 (10:08 -0400)]
#17065: Use process-unique key for winreg test.
Patch by Jeremy Kloth.
Alexandre Vassalotti [Sun, 21 Apr 2013 04:28:21 +0000 (21:28 -0700)]
Fix reference leak in _pickle.
Ezio Melotti [Sun, 21 Apr 2013 01:07:51 +0000 (04:07 +0300)]
Remove trailing whitespace.
Ezio Melotti [Sun, 21 Apr 2013 00:55:17 +0000 (03:55 +0300)]
Remove duplicated tests.
Ned Deily [Sat, 20 Apr 2013 21:07:43 +0000 (14:07 -0700)]
Issue #17801: fix shebang line of gprof2html.py
Alexandre Vassalotti [Sat, 20 Apr 2013 20:19:46 +0000 (13:19 -0700)]
Isuse #17720: Fix APPENDS handling in the Python implementation of Unpickler
to correctly process the opcode when it is used on non-list objects.
R David Murray [Sat, 20 Apr 2013 17:37:34 +0000 (13:37 -0400)]
#17409: Document RLIM_INFINITY and use it to clarify the setrlimit docs.
R David Murray [Fri, 19 Apr 2013 16:56:57 +0000 (12:56 -0400)]
#17413: make sure settrace funcs get passed exception instances for 'value'.
Patch by Ingrid Cheung and Brendan McLoughlin.
Barry Warsaw [Fri, 19 Apr 2013 15:32:25 +0000 (11:32 -0400)]
Minor typo in example.
Ezio Melotti [Fri, 19 Apr 2013 04:10:09 +0000 (07:10 +0300)]
Fix indentation.
Ezio Melotti [Fri, 19 Apr 2013 02:58:44 +0000 (05:58 +0300)]
#17790: test_set now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 19 Apr 2013 02:45:27 +0000 (05:45 +0300)]
#17789: test_random now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 19 Apr 2013 02:38:18 +0000 (05:38 +0300)]
#17779: test_osx_env now works with unittest test discovery. Patch by Zachary Ware.
R David Murray [Thu, 18 Apr 2013 13:51:17 +0000 (09:51 -0400)]
#17135: Add note in imp to use importlib for new programs.
Richard Oudkerk [Wed, 17 Apr 2013 20:16:52 +0000 (21:16 +0100)]
Merge.
Antoine Pitrou [Wed, 17 Apr 2013 20:06:44 +0000 (22:06 +0200)]
- Issue #17782: Fix undefined behaviour on platforms where ``struct timespec``'s "tv_nsec" member is not a C long.
Richard Oudkerk [Wed, 17 Apr 2013 19:58:00 +0000 (20:58 +0100)]
Issue #17555: Fix ForkAwareThreadLock so that size of after fork
registry does not grow exponentially with generation of process.
Giampaolo Rodola' [Wed, 17 Apr 2013 11:08:59 +0000 (13:08 +0200)]
Fix issue #17707: multiprocessing.Queue's get() method does not block for short timeouts.
Roger Serwy [Wed, 17 Apr 2013 05:22:50 +0000 (00:22 -0500)]
#14735: Update IDLE docs to omit "Control-z on Windows".
Ezio Melotti [Wed, 17 Apr 2013 04:34:13 +0000 (07:34 +0300)]
#17771: fix typo. Patch by Andriy Mysyk.
Ezio Melotti [Wed, 17 Apr 2013 01:34:05 +0000 (04:34 +0300)]
#17766: test_iterlen now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Wed, 17 Apr 2013 01:10:26 +0000 (04:10 +0300)]
#17740: fix links to the socket function. Initial patch by Zachary Ware.
Antoine Pitrou [Tue, 16 Apr 2013 18:27:17 +0000 (20:27 +0200)]
Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets.
Thanks to David D Lowe for reporting.
Barry Warsaw [Tue, 16 Apr 2013 15:18:53 +0000 (11:18 -0400)]
Remove unused import.
Barry Warsaw [Tue, 16 Apr 2013 15:05:03 +0000 (11:05 -0400)]
- Issue #17012: shutil.which() no longer fallbacks to the PATH environment
variable if empty path argument is specified. Patch by Serhiy Storchaka.
Benjamin Peterson [Tue, 16 Apr 2013 01:38:25 +0000 (21:38 -0400)]
remove pointless code (closes #17738)