]>
granicus.if.org Git - python/log
Nadeem Vawda [Sun, 11 Nov 2012 02:16:44 +0000 (03:16 +0100)]
Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 02:15:32 +0000 (03:15 +0100)]
Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to access previously-freed memory.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 01:21:22 +0000 (02:21 +0100)]
Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 11 Nov 2012 01:14:36 +0000 (02:14 +0100)]
Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in decompressobj().flush().
Additionally, fix a bug where a MemoryError in allocating a bytes object could
leave the decompressor object in an invalid state (with its unconsumed_tail
member being NULL).
Patch by Serhiy Storchaka.
Antoine Pitrou [Sun, 11 Nov 2012 00:27:33 +0000 (01:27 +0100)]
Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
Antoine Pitrou [Sun, 11 Nov 2012 00:25:36 +0000 (01:25 +0100)]
Issue #16357: fix calling accept() on a SSLSocket created through SSLContext.wrap_socket().
Original patch by Jeff McNeil.
Gregory P. Smith [Sat, 10 Nov 2012 23:12:55 +0000 (15:12 -0800)]
Fix test_urllib broken by my previous commits. The assumptions it was
testing were added as part of the issue10050 change that caused the
wrong behavior in the first place. now all test cases agree on the
behavior.
Stefan Krah [Sat, 10 Nov 2012 22:09:04 +0000 (23:09 +0100)]
Accept Unicode legacy strings in the Decimal constructor.
Gregory P. Smith [Sat, 10 Nov 2012 21:43:44 +0000 (13:43 -0800)]
Fixes issue #16409: The reporthook callback made by the legacy
urllib.request.urlretrieve API now properly supplies a constant
non-zero block_size as it did in Python 3.2 and 2.7. This matches the
behavior of urllib.request.URLopener.retrieve.
Chris Jerdonek [Sat, 10 Nov 2012 02:58:06 +0000 (18:58 -0800)]
Merge from 3.2: adjust set and frozenset function docs (issue #16436).
Chris Jerdonek [Sat, 10 Nov 2012 02:57:32 +0000 (18:57 -0800)]
Link set and frozenset function docs to their class definitions (issue #16436).
Chris Jerdonek [Sat, 10 Nov 2012 01:53:14 +0000 (17:53 -0800)]
Merge from 3.2: improve FAQ link in documentation (for issue #16435).
Chris Jerdonek [Sat, 10 Nov 2012 01:52:30 +0000 (17:52 -0800)]
Improve FAQ link in documentation (for issue #16435).
Ezio Melotti [Fri, 9 Nov 2012 10:51:03 +0000 (11:51 +0100)]
#13301: merge with 3.2.
Ezio Melotti [Fri, 9 Nov 2012 10:46:19 +0000 (11:46 +0100)]
#13301: use ast.literal_eval() instead of eval() in Tools/i18n/msgfmt.py. Patch by Serhiy Storchaka.
Ezio Melotti [Thu, 8 Nov 2012 23:09:10 +0000 (01:09 +0200)]
#16440: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 23:08:25 +0000 (01:08 +0200)]
#16440: fix exception type and clarify example.
Andrew Svetlov [Thu, 8 Nov 2012 15:27:39 +0000 (17:27 +0200)]
Merge issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
Andrew Svetlov [Thu, 8 Nov 2012 15:26:53 +0000 (17:26 +0200)]
Issue #16439: Fix markup in example for stdtypes.
Thanks to Yongzhi Pan.
Andrew Svetlov [Thu, 8 Nov 2012 14:11:22 +0000 (16:11 +0200)]
Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
Andrew Svetlov [Thu, 8 Nov 2012 14:10:49 +0000 (16:10 +0200)]
Issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
Stefan Krah [Thu, 8 Nov 2012 10:17:29 +0000 (11:17 +0100)]
Issue #16431: Finally, consider all permutations.
Ezio Melotti [Thu, 8 Nov 2012 09:09:13 +0000 (11:09 +0200)]
#16433: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 09:08:39 +0000 (11:08 +0200)]
#16433: fix docstring of assertNotEqual.
Ezio Melotti [Thu, 8 Nov 2012 09:06:01 +0000 (11:06 +0200)]
#11481: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 09:04:57 +0000 (11:04 +0200)]
#11481: update copyreg docs and add example.
Ezio Melotti [Thu, 8 Nov 2012 08:11:22 +0000 (10:11 +0200)]
Merge heads.
Ezio Melotti [Thu, 8 Nov 2012 08:09:06 +0000 (10:09 +0200)]
#10385: merge with 3.2.
Ezio Melotti [Thu, 8 Nov 2012 08:07:10 +0000 (10:07 +0200)]
#10385: use the mod role in subprocess docs.
Stefan Krah [Wed, 7 Nov 2012 22:47:19 +0000 (23:47 +0100)]
Issue #16431: Also fix the opposite direction.
Stefan Krah [Wed, 7 Nov 2012 22:12:25 +0000 (23:12 +0100)]
Issue #16431: Use the type information when constructing a Decimal subtype
from a Decimal argument.
Hynek Schlawack [Wed, 7 Nov 2012 08:07:22 +0000 (09:07 +0100)]
Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
Hynek Schlawack [Wed, 7 Nov 2012 08:02:24 +0000 (09:02 +0100)]
Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
Stefan Krah [Tue, 6 Nov 2012 22:27:24 +0000 (23:27 +0100)]
Ezio Melotti [Mon, 5 Nov 2012 20:22:48 +0000 (22:22 +0200)]
Fix typo noticed by Tom Lynn.
Nick Coghlan [Mon, 5 Nov 2012 11:32:11 +0000 (21:32 +1000)]
Merge #6717 crasher from 3.2
Nick Coghlan [Mon, 5 Nov 2012 11:26:57 +0000 (21:26 +1000)]
Record a known crasher from #6717
Nick Coghlan [Mon, 5 Nov 2012 10:40:25 +0000 (20:40 +1000)]
The migration to importlib eliminated this crasher
If anyone finds another recursive C path that bypasses the recursion
limiting, they can add a new crasher example.
Victor Stinner [Mon, 5 Nov 2012 01:06:13 +0000 (02:06 +0100)]
Close #15165: Fix test_email on Windows 64 bits
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
Nadeem Vawda [Sun, 4 Nov 2012 23:38:48 +0000 (00:38 +0100)]
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
Patch by Serhiy Storchaka.
Nadeem Vawda [Sun, 4 Nov 2012 23:37:42 +0000 (00:37 +0100)]
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF.
Patch by Serhiy Storchaka.
Victor Stinner [Sun, 4 Nov 2012 22:59:15 +0000 (23:59 +0100)]
Issue #8271: Fix compilation on Windows
Ezio Melotti [Sun, 4 Nov 2012 22:13:57 +0000 (00:13 +0200)]
#5057: null merge with 3.2 (only add tests).
Ezio Melotti [Sun, 4 Nov 2012 22:06:32 +0000 (00:06 +0200)]
#5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
Ezio Melotti [Sun, 4 Nov 2012 21:21:38 +0000 (23:21 +0200)]
#8271: the utf-8 decoder now outputs the correct number of U+FFFD characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti.
Nick Coghlan [Sun, 4 Nov 2012 14:55:46 +0000 (00:55 +1000)]
Properly credit patch
Nick Coghlan [Sun, 4 Nov 2012 14:19:18 +0000 (00:19 +1000)]
Issue #5765: Also check the compiler when finding the recursion limit
Nick Coghlan [Sun, 4 Nov 2012 13:14:34 +0000 (23:14 +1000)]
Issue #5765: Apply a hard recursion limit in the compiler
Previously, excessive nesting in expressions would blow the
stack and segfault the interpreter. Now, a hard limit based
on the configured recursion limit and a hardcoded scaling
factor is applied.
Mark Dickinson [Sun, 4 Nov 2012 11:47:05 +0000 (11:47 +0000)]
Issue #16402: Merge fix from 3.2
Mark Dickinson [Sun, 4 Nov 2012 11:46:17 +0000 (11:46 +0000)]
Issue #16402: In range slicing, fix shadowing of exceptions from __index__ method.
Ezio Melotti [Sun, 4 Nov 2012 04:59:51 +0000 (06:59 +0200)]
#16304: merge with 3.2.
Ezio Melotti [Sun, 4 Nov 2012 04:59:22 +0000 (06:59 +0200)]
#16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz.
Christian Heimes [Sat, 3 Nov 2012 22:08:18 +0000 (23:08 +0100)]
Fix compilation on Windows
Christian Heimes [Sat, 3 Nov 2012 22:07:59 +0000 (23:07 +0100)]
Fix compilation on Windows
Éric Araujo [Sat, 3 Nov 2012 21:39:45 +0000 (17:39 -0400)]
Avoid fd leak in example. Caught by Serhiy.
Éric Araujo [Sat, 3 Nov 2012 21:09:22 +0000 (17:09 -0400)]
Branch merge
Éric Araujo [Sat, 3 Nov 2012 21:06:52 +0000 (17:06 -0400)]
Add examples for opener argument of open (#13424).
Patch by Guillaume Pratte.
Ezio Melotti [Sat, 3 Nov 2012 21:04:41 +0000 (23:04 +0200)]
#16336: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 21:03:39 +0000 (23:03 +0200)]
#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storchaka.
Ezio Melotti [Sat, 3 Nov 2012 19:32:55 +0000 (21:32 +0200)]
Merge typo fixes with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 19:30:32 +0000 (21:30 +0200)]
Fix a couple typos in Misc/NEWS.
Ezio Melotti [Sat, 3 Nov 2012 19:22:41 +0000 (21:22 +0200)]
#8401: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 19:19:06 +0000 (21:19 +0200)]
#8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
Chris Jerdonek [Sat, 3 Nov 2012 19:06:42 +0000 (12:06 -0700)]
Merge from 3.2: link to mapping glossary entry in docs.
Chris Jerdonek [Sat, 3 Nov 2012 19:05:55 +0000 (12:05 -0700)]
Link to mapping glossary entry in "Mapping Types - dict" and os.environ docs.
Ezio Melotti [Sat, 3 Nov 2012 18:33:38 +0000 (20:33 +0200)]
#12759: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 18:33:08 +0000 (20:33 +0200)]
#12759: sre_parse now raises a proper error when the name of the group is missing. Initial patch by Serhiy Storchaka.
Ezio Melotti [Sat, 3 Nov 2012 16:29:16 +0000 (18:29 +0200)]
#4711: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 16:25:04 +0000 (18:25 +0200)]
#4711: break long words in the docs sidebar to avoid overflow.
Ezio Melotti [Sat, 3 Nov 2012 15:46:51 +0000 (17:46 +0200)]
#16152: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 15:38:43 +0000 (17:38 +0200)]
#16152: fix tokenize to ignore whitespace at the end of the code when no newline is found. Patch by Ned Batchelder.
Stefan Krah [Fri, 2 Nov 2012 16:49:22 +0000 (17:49 +0100)]
Issue #15814: Use hash function that is compatible with the equality
definition from #15573.
Stefan Krah [Fri, 2 Nov 2012 13:44:20 +0000 (14:44 +0100)]
Issue #16145: Support legacy strings in the _csv module.
Georg Brandl [Fri, 2 Nov 2012 06:34:46 +0000 (07:34 +0100)]
merge with 3.2
Georg Brandl [Fri, 2 Nov 2012 06:34:37 +0000 (07:34 +0100)]
Grammar touchup.
Andrew Svetlov [Thu, 1 Nov 2012 20:44:06 +0000 (22:44 +0200)]
Merge issue #
1207589 : Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
Andrew Svetlov [Thu, 1 Nov 2012 20:41:19 +0000 (22:41 +0200)]
Issue #
1207589 : Add Cut/Copy/Paste items to IDLE right click Context Menu
Patch by Todd Rovito.
Andrew Svetlov [Thu, 1 Nov 2012 19:48:16 +0000 (21:48 +0200)]
Merge: Reword set docs to use *proper subset/superset* terminology.
Andrew Svetlov [Thu, 1 Nov 2012 19:47:54 +0000 (21:47 +0200)]
Reword set docs to use *proper subset/superset* terminology.
Andrew Svetlov [Thu, 1 Nov 2012 19:27:23 +0000 (21:27 +0200)]
Merge issue #14893: Add function annotation example to function tutorial.
Patch by Zachary Ware.
Andrew Svetlov [Thu, 1 Nov 2012 19:26:55 +0000 (21:26 +0200)]
Issue #14893: Add function annotation example to function tutorial.
Patch by Zachary Ware.
Antoine Pitrou [Thu, 1 Nov 2012 19:15:23 +0000 (20:15 +0100)]
Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
Antoine Pitrou [Thu, 1 Nov 2012 19:13:54 +0000 (20:13 +0100)]
Issue #16230: Fix a crash in select.select() when one the lists changes size while iterated on.
Patch by Serhiy Storchaka.
Antoine Pitrou [Thu, 1 Nov 2012 18:59:21 +0000 (19:59 +0100)]
Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
Antoine Pitrou [Thu, 1 Nov 2012 18:52:06 +0000 (19:52 +0100)]
Issue #16228: Fix a crash in the json module where a list changes size while it is being encoded.
Patch by Serhiy Storchaka.
Andrew Svetlov [Thu, 1 Nov 2012 12:51:14 +0000 (14:51 +0200)]
Issue #16218: Support non ascii characters in python launcher.
Patch by Serhiy Storchaka.
Andrew Svetlov [Thu, 1 Nov 2012 11:43:31 +0000 (13:43 +0200)]
Merge: change docstring for xdrlib.Error to use new style exceptions.
Andrew Svetlov [Thu, 1 Nov 2012 11:43:06 +0000 (13:43 +0200)]
Change docstring for xdrlib.Error to use new style exceptions.
Andrew Svetlov [Thu, 1 Nov 2012 11:31:12 +0000 (13:31 +0200)]
Merge issue #16373: Prevent infinite recursion for ABC Set class operations.
Patch by Serhiy Storchaka.
Andrew Svetlov [Thu, 1 Nov 2012 11:28:54 +0000 (13:28 +0200)]
Issue #16373: Prevent infinite recursion for ABC Set class operations.
Benjamin Peterson [Wed, 31 Oct 2012 23:02:18 +0000 (19:02 -0400)]
merge heads
Benjamin Peterson [Wed, 31 Oct 2012 23:01:42 +0000 (19:01 -0400)]
check return value of _PyUnicode_AsString
Andrew Svetlov [Wed, 31 Oct 2012 20:38:20 +0000 (22:38 +0200)]
Merge issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
Andrew Svetlov [Wed, 31 Oct 2012 20:37:50 +0000 (22:37 +0200)]
Issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
Andrew Svetlov [Wed, 31 Oct 2012 20:06:27 +0000 (22:06 +0200)]
null merge
Andrew Svetlov [Wed, 31 Oct 2012 20:05:46 +0000 (22:05 +0200)]
merge heads
Andrew Svetlov [Wed, 31 Oct 2012 20:04:06 +0000 (22:04 +0200)]
Merge issue #14900: document added sort keys for profile stats.
Andrew Svetlov [Wed, 31 Oct 2012 20:03:28 +0000 (22:03 +0200)]
Issue #14900: document added sort keys for profile stats.
Mark Dickinson [Wed, 31 Oct 2012 19:45:05 +0000 (19:45 +0000)]
Issue #16348: merge fix from 3.2.
Mark Dickinson [Wed, 31 Oct 2012 19:44:36 +0000 (19:44 +0000)]
Issue #16348: Fix incorrect documentation for Decimal.remainder_near.