]>
granicus.if.org Git - python/log
Ezio Melotti [Wed, 8 May 2013 07:56:32 +0000 (10:56 +0300)]
#16523: merge with 3.3.
Ezio Melotti [Wed, 8 May 2013 07:53:11 +0000 (10:53 +0300)]
#16523: improve attrgetter/itemgetter/methodcaller documentation.
Victor Stinner [Tue, 7 May 2013 22:44:15 +0000 (00:44 +0200)]
Use Py_intptr_t to store the difference between two pointers, instead of int
Fix a compiler warning on Windows 64-bit
Victor Stinner [Tue, 7 May 2013 22:00:44 +0000 (00:00 +0200)]
Fix compiler warnings: explicit cast to int in sha256/sha512 modules
Victor Stinner [Tue, 7 May 2013 21:50:21 +0000 (23:50 +0200)]
zlib: Explicit cast to fix a compiler warning
Victor Stinner [Tue, 7 May 2013 21:50:03 +0000 (23:50 +0200)]
Fix a compiler warning: use unsigned int type instead of enum PyUnicode_Kind to
compare two Unicode kinds
Victor Stinner [Tue, 7 May 2013 21:49:15 +0000 (23:49 +0200)]
audioop: explicit cast to fix a compiler warning
Victor Stinner [Tue, 7 May 2013 21:48:56 +0000 (23:48 +0200)]
Fix a compiler warning: in and out are unused in _Py_char2wchar() if
HAVE_MBRTOWC is not defined
Richard Oudkerk [Tue, 7 May 2013 13:36:51 +0000 (14:36 +0100)]
Correction for
4f82b6cfee46 .
Richard Oudkerk [Tue, 7 May 2013 13:23:42 +0000 (14:23 +0100)]
Fix os.__all__ to is passes test___all__
Vinay Sajip [Tue, 7 May 2013 09:52:18 +0000 (10:52 +0100)]
Skip failing test pending investigation.
Ezio Melotti [Tue, 7 May 2013 08:21:21 +0000 (11:21 +0300)]
#17714: merge with 3.3.
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:47:08 +0000 (09:47 +0300)]
#17871: merge with 3.3.
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:23:10 +0000 (18:23 -0700)]
merge
Raymond Hettinger [Tue, 7 May 2013 01:22:43 +0000 (18:22 -0700)]
Issue 17920: Fix-up terminology in the set documentation
Victor Stinner [Mon, 6 May 2013 23:01:31 +0000 (01:01 +0200)]
Fix uninitialized value in charmap_decode_mapping()
Nick Coghlan [Mon, 6 May 2013 22:28:21 +0000 (08:28 +1000)]
Issue #11816: Add missing test helper
This is why I should really use hg import rather than patch,
but old habits die hard...
Victor Stinner [Mon, 6 May 2013 21:11:54 +0000 (23:11 +0200)]
Issue #7330: Implement width and precision (ex: "%5.3s") for the format string
of PyUnicode_FromFormat() function, original patch written by Ysj Ray.
Antoine Pitrou [Mon, 6 May 2013 19:54:07 +0000 (21:54 +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.
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:26:05 +0000 (21:26 +0200)]
Issue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
platforms. Patch by Federico Schwindt.
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.
Antoine Pitrou [Mon, 6 May 2013 19:15:57 +0000 (21:15 +0200)]
Issue #
1545463 : Global variables caught in reference cycles are now garbage-collected at shutdown.
David Malcolm [Mon, 6 May 2013 18:51:13 +0000 (14:51 -0400)]
#17833: merge with 3.3
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:41 +0000 (12:58 -0400)]
Merge #14187: Add glossary entry for 'function annotations'.
Patch by Chris Rebert.
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.
Nick Coghlan [Mon, 6 May 2013 14:03:00 +0000 (00:03 +1000)]
Issue #11816: switch test_peepholer to bytecode_helper
Nick Coghlan [Mon, 6 May 2013 13:59:20 +0000 (23:59 +1000)]
Issue #11816: multiple improvements to the dis module
* get_instructions generator
* ability to redirect output to a file
* Bytecode and Instruction abstractions
Patch by Nick Coghlan, Ryan Kelly and Thomas Kluyver.
Mark Dickinson [Mon, 6 May 2013 13:39:31 +0000 (15:39 +0200)]
Issue #5845: avoid an exception at startup on OS X if no .editrc file exists.
Richard Oudkerk [Mon, 6 May 2013 11:24:30 +0000 (12:24 +0100)]
Correct issue number for
c4f92b597074 in Misc/NEWS from #13813 to #13831
Richard Oudkerk [Mon, 6 May 2013 11:13:50 +0000 (12:13 +0100)]
Merge
Richard Oudkerk [Mon, 6 May 2013 11:10:04 +0000 (12:10 +0100)]
Issue #17805: Add AsyncResult alias for ApplyResult
Richard Oudkerk [Mon, 6 May 2013 10:38:25 +0000 (11:38 +0100)]
Issue #13813: Embed stringification of remote traceback in local
traceback raised when pool task raises an exception.
Roger Serwy [Mon, 6 May 2013 03:16:03 +0000 (22:16 -0500)]
#13495: merge with 3.3.
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:54:04 +0000 (19:54 -0700)]
merge
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.
Richard Oudkerk [Sun, 5 May 2013 22:05:00 +0000 (23:05 +0100)]
Issue #15528: Add weakref.finalize to support finalization using
weakref callbacks.
This is
2e446e87ac5b except that collections/__init__.py has been
modified to import proxy from _weakref instead of weakref. This
eliminates an import cycle which seems to cause a problem on Unix but
not Windows.
Antoine Pitrou [Sun, 5 May 2013 21:47:09 +0000 (23:47 +0200)]
Issue #17094: Clear stale thread states after fork().
Note that this is a potentially disruptive change since it may
release some system resources which would otherwise remain
perpetually alive (e.g. database connections kept in thread-local
storage).
Richard Oudkerk [Sun, 5 May 2013 21:12:34 +0000 (22:12 +0100)]
Backout
2e446e87ac5b ; it breaks the unix buildbots.
Richard Oudkerk [Sun, 5 May 2013 19:59:04 +0000 (20:59 +0100)]
Issue #15528: Add weakref.finalize to support finalization using
weakref callbacks.
Roger Serwy [Sun, 5 May 2013 16:35:15 +0000 (11:35 -0500)]
#17798: merge with 3.3.
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:14:53 +0000 (08:14 +0200)]
Fix crash caused by
8c1385205a35
(thanks Arfrever for reporting).
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:30 +0000 (18:11 -0400)]
merge w/ 3.3
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.
Brett Cannon [Sat, 4 May 2013 21:54:57 +0000 (17:54 -0400)]
Change a test assertion to a conditional so the test will pass on
Windows.
Brett Cannon [Sat, 4 May 2013 21:37:09 +0000 (17:37 -0400)]
#17115: I hate you MS for not supporting C99.
Brett Cannon [Sat, 4 May 2013 21:29:36 +0000 (17:29 -0400)]
merge
Brett Cannon [Sat, 4 May 2013 21:27:59 +0000 (17:27 -0400)]
#17115: Remove what appears to be a useless chunk of code which broke
other tests.
Antoine Pitrou [Sat, 4 May 2013 21:21:09 +0000 (23:21 +0200)]
Issue #14173: Avoid crashing when reading a signal handler during interpreter shutdown.
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:46:19 +0000 (20:46 +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: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:53 +0000 (20:18 +0200)]
Elaborate on bytes-like objects.
Antoine Pitrou [Sat, 4 May 2013 18:18:34 +0000 (20:18 +0200)]
Elaborate on bytes-like objects.
Antoine Pitrou [Sat, 4 May 2013 18:08:35 +0000 (20:08 +0200)]
Issue #5845: Enable tab-completion in the interactive interpreter by default, thanks to a new sys.__interactivehook__.
(original patch by Éric Araujo)
Brett Cannon [Sat, 4 May 2013 17:56:58 +0000 (13:56 -0400)]
#17115,17116: Have modules initialize the __package__ and __loader__
attributes to None.
The long-term goal is for people to be able to rely on these
attributes existing and checking for None to see if they have been
set. Since import itself sets these attributes when a loader does not
the only instances when the attributes are None are from someone
overloading __import__() and not using a loader or someone creating a
module from scratch.
This patch also unifies module initialization. Before you could have
different attributes with default values depending on how the module
object was created. Now the only way to not get the same default set
of attributes is to circumvent initialization by calling
ModuleType.__new__() directly.
Ezio Melotti [Sat, 4 May 2013 15:07:12 +0000 (18:07 +0300)]
#16518: merge with 3.3.
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:47:54 +0000 (17:47 +0300)]
#7855: merge with 3.3.
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:16:16 +0000 (15:16 +0300)]
Null merge (already committed in changeset
a3ba5fe9bfd3 )
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:57:08 +0000 (10:57 -0400)]
add trailing newline to file
Brett Cannon [Fri, 3 May 2013 14:56:19 +0000 (10:56 -0400)]
Move test_imp over to unittest.main()
Brett Cannon [Fri, 3 May 2013 14:54:23 +0000 (10:54 -0400)]
Guard more tests in test_imp requiring imp.load_dynamic() to exist.
Brett Cannon [Fri, 3 May 2013 14:47:17 +0000 (10:47 -0400)]
#15902: merge w/ 3.3
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:41:02 +0000 (02:41 -0700)]
merge
Raymond Hettinger [Fri, 3 May 2013 09:24:15 +0000 (02:24 -0700)]
Issue #15535: Fix pickling of named tuples.
Alexandre Vassalotti [Thu, 2 May 2013 17:44:04 +0000 (10:44 -0700)]
Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgs
Antoine Pitrou [Wed, 1 May 2013 18:52:07 +0000 (20:52 +0200)]
Issue #13721: SSLSocket.getpeercert() and SSLSocket.do_handshake() now raise an OSError with ENOTCONN, instead of an AttributeError, when the SSLSocket is not connected.
Ezio Melotti [Wed, 1 May 2013 13:20:00 +0000 (16:20 +0300)]
#17802: merge with 3.3.
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:15:50 +0000 (15:15 +0200)]
Merge.
Ezio Melotti [Wed, 1 May 2013 13:13:45 +0000 (16:13 +0300)]
Move NEWS entry to the right section.
Charles-Francois Natali [Wed, 1 May 2013 13:13:12 +0000 (15:13 +0200)]
Issue #17529: Fix os.sendfile() documentation regarding the type of file
descriptor supported.
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.
Ezio Melotti [Wed, 1 May 2013 13:09:34 +0000 (16:09 +0300)]
#14679: add an __all__ (that contains only HTMLParser) to html.parser.
Ezio Melotti [Wed, 1 May 2013 11:58:09 +0000 (14:58 +0300)]
#11078: test___all__ now checks for duplicates in __all__. Initial patch by R. David Murray.
Antoine Pitrou [Tue, 30 Apr 2013 22:17:45 +0000 (00:17 +0200)]
Issue #17712: Fix test_gdb failures on Ubuntu 13.04.
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:34:41 +0000 (23:34 +0300)]
#16518: merge with 3.3.
Ezio Melotti [Tue, 30 Apr 2013 20:33:31 +0000 (23:33 +0300)]
#16518: add "bytes-like object" to the glossary.
Benjamin Peterson [Tue, 30 Apr 2013 13:41:40 +0000 (09:41 -0400)]
check local class namespace before reaching for cells (closes #17853)
Ezio Melotti [Tue, 30 Apr 2013 13:34:30 +0000 (16:34 +0300)]
#17881: merge with 3.3.
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:05:28 +0000 (01:05 -0700)]
merge (no news entry needed for this fix to an earlier 3.4 blunder
that already contains the right news)
Gregory P. Smith [Tue, 30 Apr 2013 08:03:46 +0000 (01:03 -0700)]
merge
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:06:20 +0000 (00:06 -0700)]
null merge
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)