]>
granicus.if.org Git - python/log
Victor Stinner [Mon, 5 Nov 2012 00:20:58 +0000 (01:20 +0100)]
Issue #15478: Oops, fix regression in os.open() on Windows
os.open() uses _wopen() which sets errno, not the Windows error code.
Nadeem Vawda [Sun, 4 Nov 2012 23:40:00 +0000 (00:40 +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: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 23:00:50 +0000 (00:00 +0100)]
(Merge 3.3) Issue #8271: Fix compilation on Windows
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:14:34 +0000 (00:14 +0200)]
#5057: null merge with 3.3 (only add tests).
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:23:09 +0000 (23:23 +0200)]
#8271: merge with 3.3.
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.
Stefan Krah [Sun, 4 Nov 2012 19:53:50 +0000 (20:53 +0100)]
Fix copy&paste errors and reformulate the tests.
Nick Coghlan [Sun, 4 Nov 2012 14:56:02 +0000 (00:56 +1000)]
Merge from 3.3
Nick Coghlan [Sun, 4 Nov 2012 14:55:46 +0000 (00:55 +1000)]
Properly credit patch
Nick Coghlan [Sun, 4 Nov 2012 14:19:49 +0000 (00:19 +1000)]
Issue #5765: Merge from 3.3
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:53:15 +0000 (23:53 +1000)]
Issue #5765: Merge from 3.3
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:47 +0000 (11:47 +0000)]
Issue #16402: Merge fix from 3.3
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 05:00:04 +0000 (07:00 +0200)]
#16304: merge with 3.3.
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.
Antoine Pitrou [Sun, 4 Nov 2012 01:10:33 +0000 (02:10 +0100)]
Issue #15837: add some tests for random.shuffle().
Patch by Alessandro Moura.
Christian Heimes [Sat, 3 Nov 2012 22:08:27 +0000 (23:08 +0100)]
Fix compilation on Windows
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:40:06 +0000 (17:40 -0400)]
Merge 3.3
É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:10:01 +0000 (17:10 -0400)]
Branch merge
Éric Araujo [Sat, 3 Nov 2012 21:09:37 +0000 (17:09 -0400)]
Branch merge
Éric Araujo [Sat, 3 Nov 2012 21:09:22 +0000 (17:09 -0400)]
Branch merge
Éric Araujo [Sat, 3 Nov 2012 21:07:40 +0000 (17:07 -0400)]
Merge 3.3
É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:05:18 +0000 (23:05 +0200)]
#16336: merge with 3.3.
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:36:22 +0000 (21:36 +0200)]
Merge typo fixes (and the fix for #8401 that I wrongly merged) with 3.3.
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:24:47 +0000 (21:24 +0200)]
#8401: merge with 3.3.
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:07:20 +0000 (12:07 -0700)]
Merge from 3.3: link to mapping glossary entry in docs.
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:34:16 +0000 (20:34 +0200)]
#12759: merge with 3.3.
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:31 +0000 (18:29 +0200)]
#4711: merge with 3.3.
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:51:25 +0000 (17:51 +0200)]
#16152: merge with 3.3.
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.
Andrew Svetlov [Sat, 3 Nov 2012 13:56:05 +0000 (15:56 +0200)]
Issue #7317: Display full tracebacks when an error occurs asynchronously.
Patch by Alon Horev with update by Alexey Kachayev.
Andrew Svetlov [Sat, 3 Nov 2012 13:36:01 +0000 (15:36 +0200)]
Issue #16284: Prevent keeping unnecessary references to worker functions in concurrent.futures ThreadPoolExecutor.
Andrew Svetlov [Sat, 3 Nov 2012 12:37:37 +0000 (14:37 +0200)]
Issue #16218: skip test if filesystem doesn't support required encoding
Andrew Svetlov [Sat, 3 Nov 2012 11:52:58 +0000 (13:52 +0200)]
Issue #16309: Make PYTHONPATH= behavior the same as if PYTHONPATH not set at all.
Thanks to Armin Rigo and Alexey Kachayev.
Andrew Svetlov [Sat, 3 Nov 2012 10:50:01 +0000 (12:50 +0200)]
Issue #16218: Fix broken test for supporting nonascii characters in python launcher
Andrew Svetlov [Fri, 2 Nov 2012 20:07:26 +0000 (22:07 +0200)]
Issue #16261: fix bare excepts in Doc/
Stefan Krah [Fri, 2 Nov 2012 16:55:11 +0000 (17:55 +0100)]
Merge 3.3.
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:49:02 +0000 (14:49 +0100)]
Merge 3.3.
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:52 +0000 (07:34 +0100)]
merge with 3.3
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:45 +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: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:34 +0000 (21:48 +0200)]
Merge: Reword set docs to use *proper subset/superset* terminology.
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:28:40 +0000 (21:28 +0200)]
Merge issue #14893: Add function annotation example to function tutorial.
Patch by Zachary Ware.
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:16:07 +0000 (20:16 +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: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 19:03:30 +0000 (20:03 +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: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:52:03 +0000 (14:52 +0200)]
Merge issue #16218: Support non ascii characters in python launcher.
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:43 +0000 (13:43 +0200)]
Merge: change docstring for xdrlib.Error to use new style exceptions.
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:31 +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: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 [Thu, 1 Nov 2012 00:26:43 +0000 (20:26 -0400)]
merge heads
Benjamin Peterson [Thu, 1 Nov 2012 00:26:20 +0000 (20:26 -0400)]
point errors related to nonlocals and globals to the statement declaring them (closes #10189)
Vinay Sajip [Wed, 31 Oct 2012 23:49:19 +0000 (23:49 +0000)]
Closes #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for the suggestion.
Benjamin Peterson [Wed, 31 Oct 2012 23:02:30 +0000 (19:02 -0400)]
merge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 23:02:24 +0000 (19:02 -0400)]
merge heads
Benjamin Peterson [Wed, 31 Oct 2012 23:02:18 +0000 (19:02 -0400)]
merge heads
Benjamin Peterson [Wed, 31 Oct 2012 23:01:48 +0000 (19:01 -0400)]
merge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 23:01:42 +0000 (19:01 -0400)]
check return value of _PyUnicode_AsString