]> granicus.if.org Git - python/log
python
11 years agoIssue #17606: Fixed support of encoded byte strings in the XMLGenerator
Serhiy Storchaka [Sun, 12 May 2013 14:31:59 +0000 (17:31 +0300)]
Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.

11 years agoIssue #17606: Fixed support of encoded byte strings in the XMLGenerator
Serhiy Storchaka [Sun, 12 May 2013 14:31:16 +0000 (17:31 +0300)]
Issue #17606: Fixed support of encoded byte strings in the XMLGenerator
characters() and ignorableWhitespace() methods.  Original patch by Sebastian
Ortiz Vasquez.

11 years agomerge with 3.3
Georg Brandl [Sun, 12 May 2013 10:37:12 +0000 (12:37 +0200)]
merge with 3.3

11 years agoCloses issue #17732: ignore install-directory specific options in
Georg Brandl [Sun, 12 May 2013 10:36:07 +0000 (12:36 +0200)]
Closes issue #17732: ignore install-directory specific options in
distutils.cfg when a venv is active.

11 years agonull-merge reversion of #1159051 patch from 3.3
Georg Brandl [Sun, 12 May 2013 10:08:30 +0000 (12:08 +0200)]
null-merge reversion of #1159051 patch from 3.3

11 years agomerge with 3.3
Georg Brandl [Sun, 12 May 2013 10:08:05 +0000 (12:08 +0200)]
merge with 3.3

11 years agoBack out patch for #1159051, which caused backwards compatibility problems.
Georg Brandl [Sun, 12 May 2013 09:57:26 +0000 (11:57 +0200)]
Back out patch for #1159051, which caused backwards compatibility problems.

11 years agomerge with 3.2
Georg Brandl [Sun, 12 May 2013 09:52:22 +0000 (11:52 +0200)]
merge with 3.2

11 years agomerge with 3.2
Georg Brandl [Sun, 12 May 2013 09:51:26 +0000 (11:51 +0200)]
merge with 3.2

11 years agoIssue #17915: Fix interoperability of xml.sax with file objects returned by
Georg Brandl [Sun, 12 May 2013 09:41:12 +0000 (11:41 +0200)]
Issue #17915: Fix interoperability of xml.sax with file objects returned by
codecs.open().

11 years agoIssue #1159051: Back out a fix for handling corrupted gzip files that
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.

11 years agomerge
Georg Brandl [Sun, 12 May 2013 09:24:58 +0000 (11:24 +0200)]
merge

11 years agomerge heads
Georg Brandl [Sun, 12 May 2013 09:24:47 +0000 (11:24 +0200)]
merge heads

11 years agoIssue #17838: merge with 3.3
Georg Brandl [Sun, 12 May 2013 09:21:27 +0000 (11:21 +0200)]
Issue #17838: merge with 3.3

11 years agoprevent IDLE from trying to close when sys.stdin is reassigned (#17838)
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)

11 years agoDiagnostics collected, test disabled for now.
Vinay Sajip [Sat, 11 May 2013 23:18:02 +0000 (00:18 +0100)]
Diagnostics collected, test disabled for now.

11 years agoRe-enabled test with more diagnostics.
Vinay Sajip [Sat, 11 May 2013 23:04:58 +0000 (00:04 +0100)]
Re-enabled test with more diagnostics.

11 years agomerge 3.3
Benjamin Peterson [Sat, 11 May 2013 21:29:11 +0000 (16:29 -0500)]
merge 3.3

11 years agoonly close non-None files
Benjamin Peterson [Sat, 11 May 2013 21:29:03 +0000 (16:29 -0500)]
only close non-None files

11 years agoremove unused import
Benjamin Peterson [Sat, 11 May 2013 21:12:57 +0000 (16:12 -0500)]
remove unused import

11 years agosimplify #17947 test with weakrefs
Benjamin Peterson [Sat, 11 May 2013 21:10:52 +0000 (16:10 -0500)]
simplify #17947 test with weakrefs

11 years agomerge
Brett Cannon [Sat, 11 May 2013 18:47:12 +0000 (14:47 -0400)]
merge

11 years agoTouch up grammar for dict.update() docstring.
Brett Cannon [Sat, 11 May 2013 18:46:48 +0000 (14:46 -0400)]
Touch up grammar for dict.update() docstring.

11 years agomerge 3.3 (#17547)
Benjamin Peterson [Sat, 11 May 2013 18:02:59 +0000 (13:02 -0500)]
merge 3.3 (#17547)

11 years ago-Wformat is needed by gcc 4.8 (closes #17547)
Benjamin Peterson [Sat, 11 May 2013 18:00:05 +0000 (13:00 -0500)]
-Wformat is needed by gcc 4.8 (closes #17547)

11 years agoIssue #17237: Fix crash in the ASCII decoder on m68k.
Antoine Pitrou [Sat, 11 May 2013 13:59:37 +0000 (15:59 +0200)]
Issue #17237: Fix crash in the ASCII decoder on m68k.

11 years agoIssue #17237: Fix crash in the ASCII decoder on m68k.
Antoine Pitrou [Sat, 11 May 2013 13:58:34 +0000 (15:58 +0200)]
Issue #17237: Fix crash in the ASCII decoder on m68k.

11 years agoIssue #16694: Add source code link for operator.py
Raymond Hettinger [Sat, 11 May 2013 02:57:44 +0000 (19:57 -0700)]
Issue #16694:  Add source code link for operator.py

11 years ago#17927: Keep frame from referencing cell-ified arguments.
Guido van Rossum [Fri, 10 May 2013 15:47:42 +0000 (08:47 -0700)]
#17927: Keep frame from referencing cell-ified arguments.

11 years agoMerge 3.3
Barry Warsaw [Fri, 10 May 2013 15:36:23 +0000 (11:36 -0400)]
Merge 3.3

11 years agoI was confused before. It's correct to not call .close() inside the with
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.

11 years ago#17841: merge with 3.3.
Ezio Melotti [Fri, 10 May 2013 02:22:14 +0000 (05:22 +0300)]
#17841: merge with 3.3.

11 years ago#17841: remove missing codecs aliases from the documentation. Patch by Thomas Fenzl.
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.

11 years ago#17700: merge with 3.3
Andrew Kuchling [Fri, 10 May 2013 00:14:01 +0000 (20:14 -0400)]
#17700: merge with 3.3

11 years ago#17700: update the curses HOWTO for 3.x
Andrew Kuchling [Fri, 10 May 2013 00:05:20 +0000 (20:05 -0400)]
#17700: update the curses HOWTO for 3.x

11 years ago#17938: merge with 3.3.
Ezio Melotti [Thu, 9 May 2013 12:34:09 +0000 (15:34 +0300)]
#17938: merge with 3.3.

11 years ago#17938: remove duplicate paragraphs.
Ezio Melotti [Thu, 9 May 2013 12:33:53 +0000 (15:33 +0300)]
#17938: remove duplicate paragraphs.

11 years ago#17809: merge with 3.3.
Ezio Melotti [Thu, 9 May 2013 12:24:30 +0000 (15:24 +0300)]
#17809: merge with 3.3.

11 years ago#17809: fix a test failure in test_expanduser when $HOME has a trailing /. Patch...
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.

11 years agoIssue #16601: Restarting iteration over tarfile no more continues from where
Serhiy Storchaka [Thu, 9 May 2013 11:36:58 +0000 (14:36 +0300)]
Issue #16601: Restarting iteration over tarfile no more continues from where
it left off.  Patch by Michael Birtwell.

11 years agoIssue #16601: Restarting iteration over tarfile no more continues from where
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.

11 years agoIssue #17912: Use a doubly linked-list for thread states.
Charles-Francois Natali [Wed, 8 May 2013 19:09:52 +0000 (21:09 +0200)]
Issue #17912: Use a doubly linked-list for thread states.

11 years agoIssue #17807: Generators can now be finalized even when they are part of a reference...
Antoine Pitrou [Wed, 8 May 2013 16:12:35 +0000 (18:12 +0200)]
Issue #17807: Generators can now be finalized even when they are part of a reference cycle.

11 years agoIssue #1545463: At shutdown, defer finalization of codec modules so that stderr remai...
Antoine Pitrou [Wed, 8 May 2013 11:23:25 +0000 (13:23 +0200)]
Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable.

(should fix Windows buildbot failures on test_gc)

11 years ago#17877: merge with 3.3.
Ezio Melotti [Wed, 8 May 2013 08:16:33 +0000 (11:16 +0300)]
#17877: merge with 3.3.

11 years ago#17877: skip test if the Olson's TZ database is missing.
Ezio Melotti [Wed, 8 May 2013 08:16:02 +0000 (11:16 +0300)]
#17877: skip test if the Olson's TZ database is missing.

11 years ago#16523: merge with 3.3.
Ezio Melotti [Wed, 8 May 2013 07:56:32 +0000 (10:56 +0300)]
#16523: merge with 3.3.

11 years ago#16523: improve attrgetter/itemgetter/methodcaller documentation.
Ezio Melotti [Wed, 8 May 2013 07:53:11 +0000 (10:53 +0300)]
#16523: improve attrgetter/itemgetter/methodcaller documentation.

11 years agoUse Py_intptr_t to store the difference between two pointers, instead of int
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

11 years agoFix compiler warnings: explicit cast to int in sha256/sha512 modules
Victor Stinner [Tue, 7 May 2013 22:00:44 +0000 (00:00 +0200)]
Fix compiler warnings: explicit cast to int in sha256/sha512 modules

11 years agozlib: Explicit cast to fix a compiler warning
Victor Stinner [Tue, 7 May 2013 21:50:21 +0000 (23:50 +0200)]
zlib: Explicit cast to fix a compiler warning

11 years agoFix a compiler warning: use unsigned int type instead of enum PyUnicode_Kind to
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

11 years agoaudioop: explicit cast to fix a compiler warning
Victor Stinner [Tue, 7 May 2013 21:49:15 +0000 (23:49 +0200)]
audioop: explicit cast to fix a compiler warning

11 years agoFix a compiler warning: in and out are unused in _Py_char2wchar() if
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

11 years agoCorrection for 4f82b6cfee46.
Richard Oudkerk [Tue, 7 May 2013 13:36:51 +0000 (14:36 +0100)]
Correction for 4f82b6cfee46.

11 years agoFix os.__all__ to is passes test___all__
Richard Oudkerk [Tue, 7 May 2013 13:23:42 +0000 (14:23 +0100)]
Fix os.__all__ to is passes test___all__

11 years agoSkip failing test pending investigation.
Vinay Sajip [Tue, 7 May 2013 09:52:18 +0000 (10:52 +0100)]
Skip failing test pending investigation.

11 years ago#17714: merge with 3.3.
Ezio Melotti [Tue, 7 May 2013 08:21:21 +0000 (11:21 +0300)]
#17714: merge with 3.3.

11 years ago#17714: document that the base64 codec adds a trailing newline.
Ezio Melotti [Tue, 7 May 2013 08:14:27 +0000 (11:14 +0300)]
#17714: document that the base64 codec adds a trailing newline.

11 years ago#17871: merge with 3.3.
Ezio Melotti [Tue, 7 May 2013 06:47:08 +0000 (09:47 +0300)]
#17871: merge with 3.3.

11 years ago#17871: fix unittest.TextTestRunner signature in the docs. Patch by Yogesh Chaudhari.
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.

11 years agomerge
Raymond Hettinger [Tue, 7 May 2013 01:23:10 +0000 (18:23 -0700)]
merge

11 years agoIssue 17920: Fix-up terminology in the set documentation
Raymond Hettinger [Tue, 7 May 2013 01:22:43 +0000 (18:22 -0700)]
Issue 17920:  Fix-up terminology in the set documentation

11 years agoFix uninitialized value in charmap_decode_mapping()
Victor Stinner [Mon, 6 May 2013 23:01:31 +0000 (01:01 +0200)]
Fix uninitialized value in charmap_decode_mapping()

11 years agoIssue #11816: Add missing test helper
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...

11 years agoIssue #7330: Implement width and precision (ex: "%5.3s") for the format string
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.

11 years agoIssue #17289: The readline module now plays nicer with external modules or applicatio...
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.

11 years agoIssue #17289: The readline module now plays nicer with external modules or applicatio...
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.

11 years agoIssue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
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.

11 years agoIssue #12181: select module: Fix struct kevent definition on OpenBSD 64-bit
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.

11 years agoIssue #1545463: Global variables caught in reference cycles are now garbage-collected...
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.

11 years ago#17833: merge with 3.3
David Malcolm [Mon, 6 May 2013 18:51:13 +0000 (14:51 -0400)]
#17833: merge with 3.3

11 years ago#17833: fix test_gdb failures seen on PPC64 Linux in test_threads (test.test_gdb...
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)

11 years agoMerge #14187: Add glossary entry for 'function annotations'.
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.

11 years ago#14187: Add glossary entry for 'function annotations'.
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.

11 years agoIssue #11816: switch test_peepholer to bytecode_helper
Nick Coghlan [Mon, 6 May 2013 14:03:00 +0000 (00:03 +1000)]
Issue #11816: switch test_peepholer to bytecode_helper

11 years agoIssue #11816: multiple improvements to the dis module
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.

11 years agoIssue #5845: avoid an exception at startup on OS X if no .editrc file exists.
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.

11 years agoCorrect issue number for c4f92b597074 in Misc/NEWS from #13813 to #13831
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

11 years agoMerge
Richard Oudkerk [Mon, 6 May 2013 11:13:50 +0000 (12:13 +0100)]
Merge

11 years agoIssue #17805: Add AsyncResult alias for ApplyResult
Richard Oudkerk [Mon, 6 May 2013 11:10:04 +0000 (12:10 +0100)]
Issue #17805: Add AsyncResult alias for ApplyResult

11 years agoIssue #13813: Embed stringification of remote traceback in local
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.

11 years ago#13495: merge with 3.3.
Roger Serwy [Mon, 6 May 2013 03:16:03 +0000 (22:16 -0500)]
#13495: merge with 3.3.

11 years ago#13495: Avoid loading the color delegator twice in IDLE.
Roger Serwy [Mon, 6 May 2013 03:15:44 +0000 (22:15 -0500)]
#13495: Avoid loading the color delegator twice in IDLE.

11 years agomerge
Raymond Hettinger [Mon, 6 May 2013 02:54:04 +0000 (19:54 -0700)]
merge

11 years agoIssue 17862: Improve the signature of itertools grouper() recipe.
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.

11 years agoIssue #15528: Add weakref.finalize to support finalization using
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.

11 years agoIssue #17094: Clear stale thread states after fork().
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).

11 years agoBackout 2e446e87ac5b; it breaks the unix buildbots.
Richard Oudkerk [Sun, 5 May 2013 21:12:34 +0000 (22:12 +0100)]
Backout 2e446e87ac5b; it breaks the unix buildbots.

11 years agoIssue #15528: Add weakref.finalize to support finalization using
Richard Oudkerk [Sun, 5 May 2013 19:59:04 +0000 (20:59 +0100)]
Issue #15528: Add weakref.finalize to support finalization using
weakref callbacks.

11 years ago#17798: merge with 3.3.
Roger Serwy [Sun, 5 May 2013 16:35:15 +0000 (11:35 -0500)]
#17798: merge with 3.3.

11 years ago#17798: Allow IDLE to edit new files when specified on command line.
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.

11 years agoFix crash caused by 8c1385205a35
Antoine Pitrou [Sun, 5 May 2013 06:14:53 +0000 (08:14 +0200)]
Fix crash caused by 8c1385205a35
(thanks Arfrever for reporting).

11 years agoFix crash caused by 8c1385205a35
Antoine Pitrou [Sun, 5 May 2013 06:12:42 +0000 (08:12 +0200)]
Fix crash caused by 8c1385205a35
(thanks Arfrever for reporting).

11 years agomerge w/ 3.3
Brett Cannon [Sat, 4 May 2013 22:11:30 +0000 (18:11 -0400)]
merge w/ 3.3

11 years agoFix a test to not use an assertion for something that could be
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.

11 years agoChange a test assertion to a conditional so the test will pass on
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.

11 years ago#17115: I hate you MS for not supporting C99.
Brett Cannon [Sat, 4 May 2013 21:37:09 +0000 (17:37 -0400)]
#17115: I hate you MS for not supporting C99.

11 years agomerge
Brett Cannon [Sat, 4 May 2013 21:29:36 +0000 (17:29 -0400)]
merge

11 years ago#17115: Remove what appears to be a useless chunk of code which broke
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.