]> granicus.if.org Git - python/log
python
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.

12 years agoIssue #16228: Fix a crash in the json module where a list changes size while it is...
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.

12 years agoIssue #16228: Fix a crash in the json module where a list changes size while it is...
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.

12 years agoIssue #16228: Fix a crash in the json module where a list changes size while it is...
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.

12 years agoMerge issue #16218: Support non ascii characters in python launcher.
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.

12 years agoIssue #16218: Support non ascii characters in python launcher.
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.

12 years agoMerge: change docstring for xdrlib.Error to use new style exceptions.
Andrew Svetlov [Thu, 1 Nov 2012 11:43:43 +0000 (13:43 +0200)]
Merge: change docstring for xdrlib.Error to use new style exceptions.

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

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

12 years agoMerge issue #16373: Prevent infinite recursion for ABC Set class operations.
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.

12 years agoMerge issue #16373: Prevent infinite recursion for ABC Set class operations.
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.

12 years agoIssue #16373: Prevent infinite recursion for ABC Set class operations.
Andrew Svetlov [Thu, 1 Nov 2012 11:28:54 +0000 (13:28 +0200)]
Issue #16373: Prevent infinite recursion for ABC Set class operations.

12 years agomerge heads
Benjamin Peterson [Thu, 1 Nov 2012 00:26:43 +0000 (20:26 -0400)]
merge heads

12 years agopoint errors related to nonlocals and globals to the statement declaring them (closes...
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)

12 years agoCloses #16366: Improve diagnostics from handleError(). Thanks to Antoine Pitrou for...
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.

12 years agomerge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 23:02:30 +0000 (19:02 -0400)]
merge 3.3

12 years agomerge heads
Benjamin Peterson [Wed, 31 Oct 2012 23:02:24 +0000 (19:02 -0400)]
merge heads

12 years agomerge heads
Benjamin Peterson [Wed, 31 Oct 2012 23:02:18 +0000 (19:02 -0400)]
merge heads

12 years agomerge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 23:01:48 +0000 (19:01 -0400)]
merge 3.3

12 years agocheck return value of _PyUnicode_AsString
Benjamin Peterson [Wed, 31 Oct 2012 23:01:42 +0000 (19:01 -0400)]
check return value of _PyUnicode_AsString

12 years agoIssue #15441, #15478: Reenable test_nonascii_abspath() on Windows
Victor Stinner [Wed, 31 Oct 2012 22:01:30 +0000 (23:01 +0100)]
Issue #15441, #15478: Reenable test_nonascii_abspath() on Windows

The real bug (issue #15478) has been fixed correctly.

12 years agoIssue #15478: Use source filename in OSError, not destination filename
Victor Stinner [Wed, 31 Oct 2012 21:47:43 +0000 (22:47 +0100)]
Issue #15478: Use source filename in OSError, not destination filename

And other fixes for Windows:

 * rename, replace and link require arguments of the same type on Windows
 * readlink only supports unicode filenames on Windows
 * os.open() specifies the filename on OSError

12 years agoIssue #15478: Fix again to fix test_os on Windows
Victor Stinner [Wed, 31 Oct 2012 21:16:38 +0000 (22:16 +0100)]
Issue #15478: Fix again to fix test_os on Windows

12 years agoIssue #15478: Use path_error() in more posix functions, especially in Windows
Victor Stinner [Wed, 31 Oct 2012 21:24:06 +0000 (22:24 +0100)]
Issue #15478: Use path_error() in more posix functions, especially in Windows
implementation

12 years agoMerge issue #16377: Fix bisect unittest.
Andrew Svetlov [Wed, 31 Oct 2012 20:38:44 +0000 (22:38 +0200)]
Merge issue #16377: Fix bisect unittest.

Patch by Yury Selivanov.

12 years agoMerge issue #16377: Fix bisect unittest.
Andrew Svetlov [Wed, 31 Oct 2012 20:38:20 +0000 (22:38 +0200)]
Merge issue #16377: Fix bisect unittest.

Patch by Yury Selivanov.

12 years agoIssue #16377: Fix bisect unittest.
Andrew Svetlov [Wed, 31 Oct 2012 20:37:50 +0000 (22:37 +0200)]
Issue #16377: Fix bisect unittest.

Patch by Yury Selivanov.

12 years agonull merge
Andrew Svetlov [Wed, 31 Oct 2012 20:06:43 +0000 (22:06 +0200)]
null merge

12 years agonull merge
Andrew Svetlov [Wed, 31 Oct 2012 20:06:27 +0000 (22:06 +0200)]
null merge

12 years agomerge heads
Andrew Svetlov [Wed, 31 Oct 2012 20:05:46 +0000 (22:05 +0200)]
merge heads

12 years agoIssue #14900: document added sort keys for profile stats.
Andrew Svetlov [Wed, 31 Oct 2012 20:04:20 +0000 (22:04 +0200)]
Issue #14900: document added sort keys for profile stats.

12 years agoMerge issue #14900: document added sort keys for profile stats.
Andrew Svetlov [Wed, 31 Oct 2012 20:04:06 +0000 (22:04 +0200)]
Merge issue #14900: document added sort keys for profile stats.

12 years agoIssue #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.

12 years agoIssue #16348: merge fix from 3.3.
Mark Dickinson [Wed, 31 Oct 2012 19:45:21 +0000 (19:45 +0000)]
Issue #16348: merge fix from 3.3.

12 years agoIssue #16348: merge fix from 3.2.
Mark Dickinson [Wed, 31 Oct 2012 19:45:05 +0000 (19:45 +0000)]
Issue #16348: merge fix from 3.2.

12 years agoIssue #16348: Fix incorrect documentation for Decimal.remainder_near.
Mark Dickinson [Wed, 31 Oct 2012 19:44:36 +0000 (19:44 +0000)]
Issue #16348: Fix incorrect documentation for Decimal.remainder_near.

12 years agomerge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 18:22:31 +0000 (14:22 -0400)]
merge 3.3

12 years agomerge 3.2
Benjamin Peterson [Wed, 31 Oct 2012 18:22:25 +0000 (14:22 -0400)]
merge 3.2