]> granicus.if.org Git - python/log
python
12 years agoIssue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCII
Victor Stinner [Tue, 6 Nov 2012 22:23:43 +0000 (23:23 +0100)]
Issue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCII

These constants are used to test functions with non-ASCII data, especially
filenames.

12 years agoReversed changes from issue9584
Tim Golden [Tue, 6 Nov 2012 15:34:23 +0000 (15:34 +0000)]
Reversed changes from issue9584

12 years agoBacked out changeset dafca4714298
Tim Golden [Tue, 6 Nov 2012 15:33:30 +0000 (15:33 +0000)]
Backed out changeset dafca4714298

12 years agoBacked out changeset 5cf6c427fd39
Tim Golden [Tue, 6 Nov 2012 15:32:50 +0000 (15:32 +0000)]
Backed out changeset 5cf6c427fd39

12 years agoCorrect mis-indented whitespace
Tim Golden [Tue, 6 Nov 2012 13:55:42 +0000 (13:55 +0000)]
Correct mis-indented whitespace

12 years agoissue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon
Tim Golden [Tue, 6 Nov 2012 13:50:42 +0000 (13:50 +0000)]
issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon

12 years agoMerge typo fix.
Ezio Melotti [Mon, 5 Nov 2012 20:23:16 +0000 (22:23 +0200)]
Merge typo fix.

12 years agoFix typo noticed by Tom Lynn.
Ezio Melotti [Mon, 5 Nov 2012 20:22:48 +0000 (22:22 +0200)]
Fix typo noticed by Tom Lynn.

12 years agoMerge #6717 crasher from 3.3
Nick Coghlan [Mon, 5 Nov 2012 11:33:22 +0000 (21:33 +1000)]
Merge #6717 crasher from 3.3

12 years agoMerge #6717 crasher from 3.2
Nick Coghlan [Mon, 5 Nov 2012 11:32:11 +0000 (21:32 +1000)]
Merge #6717 crasher from 3.2

12 years agoRecord a known crasher from #6717
Nick Coghlan [Mon, 5 Nov 2012 11:26:57 +0000 (21:26 +1000)]
Record a known crasher from #6717

12 years agoMerge from 3.3
Nick Coghlan [Mon, 5 Nov 2012 10:40:57 +0000 (20:40 +1000)]
Merge from 3.3

12 years agoThe migration to importlib eliminated this crasher
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.

12 years agoIssue #15641: Clean up deprecated classes from importlib
Andrew Svetlov [Mon, 5 Nov 2012 07:34:46 +0000 (09:34 +0200)]
Issue #15641: Clean up deprecated classes from importlib

Patch by Taras Lyapun.

12 years agoRevome extra .py suffix
Andrew Svetlov [Mon, 5 Nov 2012 07:28:42 +0000 (09:28 +0200)]
Revome extra .py suffix

12 years agoIssue #16218: Fix test for issue again
Andrew Svetlov [Mon, 5 Nov 2012 06:20:15 +0000 (08:20 +0200)]
Issue #16218: Fix test for issue again

12 years ago(Merge 3.3) Close #15165: Fix test_email on Windows 64 bits
Victor Stinner [Mon, 5 Nov 2012 01:06:34 +0000 (02:06 +0100)]
(Merge 3.3) Close #15165: Fix test_email on Windows 64 bits

Use year 1990 instead of year 1970 to avoid issues with negative timestamps.

12 years agoClose #15165: Fix test_email on Windows 64 bits
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.

12 years agoIssue #15478: Fix test_pep277 on Windows
Victor Stinner [Mon, 5 Nov 2012 00:28:28 +0000 (01:28 +0100)]
Issue #15478: Fix test_pep277 on Windows

os.listdir() now returns the original path in OSError.filename (on any
platform), even if "*.*" was added to the path (on Windows).

12 years agoIssue #15478: Oops, fix regression in os.open() on Windows
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.

12 years agoIssue #16350: Fix zlib decompressor handling of unused_data with multiple calls to...
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.

12 years agoIssue #16350: Fix zlib decompressor handling of unused_data with multiple calls to...
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.

12 years agoIssue #16350: Fix zlib decompressor handling of unused_data with multiple calls to...
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.

12 years ago(Merge 3.3) Issue #8271: Fix compilation on Windows
Victor Stinner [Sun, 4 Nov 2012 23:00:50 +0000 (00:00 +0100)]
(Merge 3.3) Issue #8271: Fix compilation on Windows

12 years agoIssue #8271: Fix compilation on Windows
Victor Stinner [Sun, 4 Nov 2012 22:59:15 +0000 (23:59 +0100)]
Issue #8271: Fix compilation on Windows

12 years ago#5057: null merge with 3.3 (only add tests).
Ezio Melotti [Sun, 4 Nov 2012 22:14:34 +0000 (00:14 +0200)]
#5057: null merge with 3.3 (only add tests).

12 years ago#5057: null merge with 3.2 (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).

12 years ago#5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u...
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.

12 years ago#8271: merge with 3.3.
Ezio Melotti [Sun, 4 Nov 2012 21:23:09 +0000 (23:23 +0200)]
#8271: merge with 3.3.

12 years ago#8271: the utf-8 decoder now outputs the correct number of U+FFFD characters when...
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.

12 years agoFix copy&paste errors and reformulate the tests.
Stefan Krah [Sun, 4 Nov 2012 19:53:50 +0000 (20:53 +0100)]
Fix copy&paste errors and reformulate the tests.

12 years agoMerge from 3.3
Nick Coghlan [Sun, 4 Nov 2012 14:56:02 +0000 (00:56 +1000)]
Merge from 3.3

12 years agoProperly credit patch
Nick Coghlan [Sun, 4 Nov 2012 14:55:46 +0000 (00:55 +1000)]
Properly credit patch

12 years agoIssue #5765: Merge from 3.3
Nick Coghlan [Sun, 4 Nov 2012 14:19:49 +0000 (00:19 +1000)]
Issue #5765: Merge from 3.3

12 years agoIssue #5765: Also check the compiler when finding the recursion limit
Nick Coghlan [Sun, 4 Nov 2012 14:19:18 +0000 (00:19 +1000)]
Issue #5765: Also check the compiler when finding the recursion limit

12 years agoIssue #5765: Merge from 3.3
Nick Coghlan [Sun, 4 Nov 2012 13:53:15 +0000 (23:53 +1000)]
Issue #5765: Merge from 3.3

12 years agoIssue #5765: Apply a hard recursion limit in the compiler
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.

12 years agoIssue #16402: Merge fix from 3.3
Mark Dickinson [Sun, 4 Nov 2012 11:47:47 +0000 (11:47 +0000)]
Issue #16402: Merge fix from 3.3

12 years agoIssue #16402: Merge fix from 3.2
Mark Dickinson [Sun, 4 Nov 2012 11:47:05 +0000 (11:47 +0000)]
Issue #16402: Merge fix from 3.2

12 years agoIssue #16402: In range slicing, fix shadowing of exceptions from __index__ method.
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.

12 years ago#16304: merge with 3.3.
Ezio Melotti [Sun, 4 Nov 2012 05:00:04 +0000 (07:00 +0200)]
#16304: merge with 3.3.

12 years ago#16304: merge with 3.2.
Ezio Melotti [Sun, 4 Nov 2012 04:59:51 +0000 (06:59 +0200)]
#16304: merge with 3.2.

12 years ago#16304: clarify match objects docs. Initial patch by Jan Duzinkiewicz.
Ezio Melotti [Sun, 4 Nov 2012 04:59:22 +0000 (06:59 +0200)]
#16304: clarify match objects docs.  Initial patch by Jan Duzinkiewicz.

12 years agoIssue #15837: add some tests for random.shuffle().
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.

12 years agoFix compilation on Windows
Christian Heimes [Sat, 3 Nov 2012 22:08:27 +0000 (23:08 +0100)]
Fix compilation on Windows

12 years agoFix compilation on Windows
Christian Heimes [Sat, 3 Nov 2012 22:08:18 +0000 (23:08 +0100)]
Fix compilation on Windows

12 years agoFix compilation on Windows
Christian Heimes [Sat, 3 Nov 2012 22:07:59 +0000 (23:07 +0100)]
Fix compilation on Windows

12 years agoMerge 3.3
Éric Araujo [Sat, 3 Nov 2012 21:40:06 +0000 (17:40 -0400)]
Merge 3.3

12 years agoAvoid fd leak in example. Caught by Serhiy.
Éric Araujo [Sat, 3 Nov 2012 21:39:45 +0000 (17:39 -0400)]
Avoid fd leak in example.  Caught by Serhiy.

12 years agoBranch merge
Éric Araujo [Sat, 3 Nov 2012 21:10:01 +0000 (17:10 -0400)]
Branch merge

12 years agoBranch merge
Éric Araujo [Sat, 3 Nov 2012 21:09:37 +0000 (17:09 -0400)]
Branch merge

12 years agoBranch merge
Éric Araujo [Sat, 3 Nov 2012 21:09:22 +0000 (17:09 -0400)]
Branch merge

12 years agoMerge 3.3
Éric Araujo [Sat, 3 Nov 2012 21:07:40 +0000 (17:07 -0400)]
Merge 3.3

12 years agoAdd examples for opener argument of open (#13424).
É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.

12 years ago#16336: merge with 3.3.
Ezio Melotti [Sat, 3 Nov 2012 21:05:18 +0000 (23:05 +0200)]
#16336: merge with 3.3.

12 years ago#16336: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 21:04:41 +0000 (23:04 +0200)]
#16336: merge with 3.2.

12 years ago#16336: fix input checking in the surrogatepass error handler. Patch by Serhiy Storc...
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.

12 years agoMerge typo fixes (and the fix for #8401 that I wrongly merged) with 3.3.
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.

12 years agoMerge typo fixes with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 19:32:55 +0000 (21:32 +0200)]
Merge typo fixes with 3.2.

12 years agoFix a couple typos in Misc/NEWS.
Ezio Melotti [Sat, 3 Nov 2012 19:30:32 +0000 (21:30 +0200)]
Fix a couple typos in Misc/NEWS.

12 years ago#8401: merge with 3.3.
Ezio Melotti [Sat, 3 Nov 2012 19:24:47 +0000 (21:24 +0200)]
#8401: merge with 3.3.

12 years ago#8401: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 19:22:41 +0000 (21:22 +0200)]
#8401: merge with 3.2.

12 years ago#8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5) now raises an error.
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.

12 years agoMerge from 3.3: link to mapping glossary entry in docs.
Chris Jerdonek [Sat, 3 Nov 2012 19:07:20 +0000 (12:07 -0700)]
Merge from 3.3: link to mapping glossary entry in docs.

12 years agoMerge from 3.2: 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.

12 years agoLink to mapping glossary entry in "Mapping Types - dict" and os.environ 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.

12 years ago#12759: merge with 3.3.
Ezio Melotti [Sat, 3 Nov 2012 18:34:16 +0000 (20:34 +0200)]
#12759: merge with 3.3.

12 years ago#12759: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 18:33:38 +0000 (20:33 +0200)]
#12759: merge with 3.2.

12 years ago#12759: sre_parse now raises a proper error when the name of the group is missing...
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.

12 years ago#4711: merge with 3.3.
Ezio Melotti [Sat, 3 Nov 2012 16:29:31 +0000 (18:29 +0200)]
#4711: merge with 3.3.

12 years ago#4711: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 16:29:16 +0000 (18:29 +0200)]
#4711: merge with 3.2.

12 years ago#4711: break long words in the docs sidebar to avoid overflow.
Ezio Melotti [Sat, 3 Nov 2012 16:25:04 +0000 (18:25 +0200)]
#4711: break long words in the docs sidebar to avoid overflow.

12 years ago#16152: merge with 3.3.
Ezio Melotti [Sat, 3 Nov 2012 15:51:25 +0000 (17:51 +0200)]
#16152: merge with 3.3.

12 years ago#16152: merge with 3.2.
Ezio Melotti [Sat, 3 Nov 2012 15:46:51 +0000 (17:46 +0200)]
#16152: merge with 3.2.

12 years ago#16152: fix tokenize to ignore whitespace at the end of the code when no newline...
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.

12 years agoIssue #7317: Display full tracebacks when an error occurs asynchronously.
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.

12 years agoIssue #16284: Prevent keeping unnecessary references to worker functions in concurren...
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.

12 years agoIssue #16218: skip test if filesystem doesn't support required encoding
Andrew Svetlov [Sat, 3 Nov 2012 12:37:37 +0000 (14:37 +0200)]
Issue #16218: skip test if filesystem doesn't support required encoding

12 years agoIssue #16309: Make PYTHONPATH= behavior the same as if PYTHONPATH not set at all.
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.

12 years agoIssue #16218: Fix broken test for supporting nonascii characters in python launcher
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

12 years agoIssue #16261: fix bare excepts in Doc/
Andrew Svetlov [Fri, 2 Nov 2012 20:07:26 +0000 (22:07 +0200)]
Issue #16261: fix bare excepts in Doc/

12 years agoMerge 3.3.
Stefan Krah [Fri, 2 Nov 2012 16:55:11 +0000 (17:55 +0100)]
Merge 3.3.

12 years agoIssue #15814: Use hash function that is compatible with the equality
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.

12 years agoMerge 3.3.
Stefan Krah [Fri, 2 Nov 2012 13:49:02 +0000 (14:49 +0100)]
Merge 3.3.

12 years agoIssue #16145: Support legacy strings in the _csv module.
Stefan Krah [Fri, 2 Nov 2012 13:44:20 +0000 (14:44 +0100)]
Issue #16145: Support legacy strings in the _csv module.

12 years agomerge with 3.3
Georg Brandl [Fri, 2 Nov 2012 06:34:52 +0000 (07:34 +0100)]
merge with 3.3

12 years agomerge with 3.2
Georg Brandl [Fri, 2 Nov 2012 06:34:46 +0000 (07:34 +0100)]
merge with 3.2

12 years agoGrammar touchup.
Georg Brandl [Fri, 2 Nov 2012 06:34:37 +0000 (07:34 +0100)]
Grammar touchup.

12 years agoMerge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
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.

12 years agoMerge issue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
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.

12 years agoIssue #1207589: Add Cut/Copy/Paste items to IDLE right click Context Menu
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.

12 years agoMerge: Reword set docs to use *proper subset/superset* terminology.
Andrew Svetlov [Thu, 1 Nov 2012 19:48:34 +0000 (21:48 +0200)]
Merge: Reword set docs to use *proper subset/superset* terminology.

12 years agoMerge: 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.

12 years agoReword 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.

12 years agoMerge issue #14893: Add function annotation example to function tutorial.
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.

12 years agoMerge issue #14893: Add function annotation example to function tutorial.
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.

12 years agoIssue #14893: Add function annotation example to function tutorial.
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.

12 years agoIssue #16230: Fix a crash in select.select() when one the lists changes size while...
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.

12 years agoIssue #16230: Fix a crash in select.select() when one the lists changes size while...
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.

12 years agoIssue #16230: Fix a crash in select.select() when one the lists changes size while...
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.