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

12 years agoavoid a function call with redundant checks for dict size
Benjamin Peterson [Wed, 31 Oct 2012 18:22:12 +0000 (14:22 -0400)]
avoid a function call with redundant checks for dict size

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

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

12 years agofix spelling
Benjamin Peterson [Wed, 31 Oct 2012 18:16:09 +0000 (14:16 -0400)]
fix spelling

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

12 years agomerge 3.2 (#16345)
Benjamin Peterson [Wed, 31 Oct 2012 18:09:11 +0000 (14:09 -0400)]
merge 3.2 (#16345)

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

12 years agoonly fast-path fromkeys() when the constructor returns a empty dict (closes #16345)
Benjamin Peterson [Wed, 31 Oct 2012 18:05:55 +0000 (14:05 -0400)]
only fast-path fromkeys() when the constructor returns a empty dict (closes #16345)

12 years agoIssue #13701: Fix decorator avoidance (due to desire for Python 2.3 compatibility...
Mark Dickinson [Wed, 31 Oct 2012 17:53:27 +0000 (17:53 +0000)]
Issue #13701: Fix decorator avoidance (due to desire for Python 2.3 compatibility) in decimal module.

12 years agomerge heads
Benjamin Peterson [Wed, 31 Oct 2012 17:36:21 +0000 (13:36 -0400)]
merge heads

12 years agomake PyGrammar_LabelRepr return a const char * (closes #16369)
Benjamin Peterson [Wed, 31 Oct 2012 17:36:13 +0000 (13:36 -0400)]
make PyGrammar_LabelRepr return a const char * (closes #16369)

12 years agoMerge issue #16197: Fix several small errors in winreg documentation.
Andrew Svetlov [Wed, 31 Oct 2012 17:30:00 +0000 (19:30 +0200)]
Merge issue #16197: Fix several small errors in winreg documentation.

Initial patch by Zachary Ware.

12 years agoIssue #16197: Fix several small errors in winreg documentation.
Andrew Svetlov [Wed, 31 Oct 2012 17:29:33 +0000 (19:29 +0200)]
Issue #16197: Fix several small errors in winreg documentation.

Initial patch by Zachary Ware.

12 years agoMERGE: Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(......
Jesus Cea [Wed, 31 Oct 2012 16:02:25 +0000 (17:02 +0100)]
MERGE: Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!

12 years agoMERGE: Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(......
Jesus Cea [Wed, 31 Oct 2012 16:02:03 +0000 (17:02 +0100)]
MERGE: Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!

12 years agoCloses #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!
Jesus Cea [Wed, 31 Oct 2012 16:00:59 +0000 (17:00 +0100)]
Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!

12 years agomerge #16371: fix up the English a bit more.
R David Murray [Wed, 31 Oct 2012 14:52:16 +0000 (10:52 -0400)]
merge #16371: fix up the English a bit more.

12 years agomerge #16371: fix up the English a bit more.
R David Murray [Wed, 31 Oct 2012 14:51:35 +0000 (10:51 -0400)]
merge #16371: fix up the English a bit more.

12 years ago#16371: fix up the English a bit more.
R David Murray [Wed, 31 Oct 2012 14:50:27 +0000 (10:50 -0400)]
#16371: fix up the English a bit more.

12 years agoMerge issue #16371: fix typo in ctypes documentation.
Andrew Svetlov [Wed, 31 Oct 2012 14:21:32 +0000 (16:21 +0200)]
Merge issue #16371: fix typo in ctypes documentation.

Thanks to George Yoshida.

12 years agoMerge issue #16371: fix typo in ctypes documentation.
Andrew Svetlov [Wed, 31 Oct 2012 14:21:16 +0000 (16:21 +0200)]
Merge issue #16371: fix typo in ctypes documentation.

Thanks to George Yoshida.

12 years agoIssue #16371: fix typo in ctypes documentation.
Andrew Svetlov [Wed, 31 Oct 2012 14:20:54 +0000 (16:20 +0200)]
Issue #16371: fix typo in ctypes documentation.

Thanks to George Yoshida.

12 years agoMerge issue #16370: Mention Py_SetProgramName in example for very high level embedding.
Andrew Svetlov [Wed, 31 Oct 2012 14:04:22 +0000 (16:04 +0200)]
Merge issue #16370: Mention Py_SetProgramName in example for very high level embedding.

12 years agoMerge issue #16370: Mention Py_SetProgramName in example for very high level embedding.
Andrew Svetlov [Wed, 31 Oct 2012 14:03:44 +0000 (16:03 +0200)]
Merge issue #16370: Mention Py_SetProgramName in example for very high level embedding.

12 years agoIssue #16370: Mention Py_SetProgramName in example for very high level embedding.
Andrew Svetlov [Wed, 31 Oct 2012 14:03:14 +0000 (16:03 +0200)]
Issue #16370: Mention Py_SetProgramName in example for very high level embedding.

12 years agoMerge: Remove already dropped function PySys_GetFile from documentation.
Andrew Svetlov [Wed, 31 Oct 2012 10:03:48 +0000 (12:03 +0200)]
Merge: Remove already dropped function PySys_GetFile from documentation.

Thanks to Daniel Müllner from docs@

12 years agoMerge: Remove already dropped function PySys_GetFile from documentation.
Andrew Svetlov [Wed, 31 Oct 2012 10:03:18 +0000 (12:03 +0200)]
Merge: Remove already dropped function PySys_GetFile from documentation.

Thanks to Daniel Müllner from docs@

12 years agoRemove already dropped function PySys_GetFile from documentation.
Andrew Svetlov [Wed, 31 Oct 2012 10:02:56 +0000 (12:02 +0200)]
Remove already dropped function PySys_GetFile from documentation.

Thanks to Daniel Müllner from docs@

12 years agoMerge: fix docstring for deque ctor to mark iterable parameter optional
Andrew Svetlov [Wed, 31 Oct 2012 09:51:39 +0000 (11:51 +0200)]
Merge: fix docstring for deque ctor to mark iterable parameter optional

12 years agoMerge: fix docstring for deque ctor to mark iterable parameter optional
Andrew Svetlov [Wed, 31 Oct 2012 09:51:13 +0000 (11:51 +0200)]
Merge: fix docstring for deque ctor to mark iterable parameter optional

12 years agoFix docstring for deque ctor to mark iterable parameter optional
Andrew Svetlov [Wed, 31 Oct 2012 09:50:40 +0000 (11:50 +0200)]
Fix docstring for deque ctor to mark iterable parameter optional

12 years agoMerge: fix typo in mock docs.
Andrew Svetlov [Wed, 31 Oct 2012 09:30:18 +0000 (11:30 +0200)]
Merge: fix typo in mock docs.

12 years agoFix typo in mock docs.
Andrew Svetlov [Wed, 31 Oct 2012 09:29:52 +0000 (11:29 +0200)]
Fix typo in mock docs.

12 years agomerge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 04:04:42 +0000 (00:04 -0400)]
merge 3.3

12 years agodo safety checks on __qualname__ assignment
Benjamin Peterson [Wed, 31 Oct 2012 04:01:15 +0000 (00:01 -0400)]
do safety checks on __qualname__ assignment

12 years agodon't shadow the __qualname__ descriptor with __qualname__ in the class's __dict__...
Benjamin Peterson [Wed, 31 Oct 2012 03:51:03 +0000 (23:51 -0400)]
don't shadow the __qualname__ descriptor with __qualname__ in the class's __dict__ (closes #16271)

12 years agoinitialize map/filter/zip in _PyBuiltin_Init rather than the catch-all function
Benjamin Peterson [Wed, 31 Oct 2012 03:41:54 +0000 (23:41 -0400)]
initialize map/filter/zip in _PyBuiltin_Init rather than the catch-all function

12 years agomerge 3.3 (#16369)
Benjamin Peterson [Wed, 31 Oct 2012 03:31:12 +0000 (23:31 -0400)]
merge 3.3 (#16369)

12 years agomerge 3.2 (#16369)
Benjamin Peterson [Wed, 31 Oct 2012 03:27:52 +0000 (23:27 -0400)]
merge 3.2 (#16369)

12 years agoinitialize more global type objects (closes #16369)
Benjamin Peterson [Wed, 31 Oct 2012 03:21:10 +0000 (23:21 -0400)]
initialize more global type objects (closes #16369)

12 years ago#12890: fix test on windows
R David Murray [Wed, 31 Oct 2012 00:20:54 +0000 (20:20 -0400)]
#12890: fix test on windows

Patch by Stephen Tonkin.

12 years ago#12890: fix test on windows
R David Murray [Wed, 31 Oct 2012 00:20:09 +0000 (20:20 -0400)]
#12890: fix test on windows

Patch by Stephen Tonkin.

12 years agoIssue #15478: Fix test_os on FreeBSD
Victor Stinner [Wed, 31 Oct 2012 00:12:55 +0000 (01:12 +0100)]
Issue #15478: Fix test_os on FreeBSD

Calling OS functions can fail with errors other than FileNotFoundError: a
FreeBSD buildbot fails for example with a PermissionError.

12 years agoIssue #15478: Fix test_os on Windows (os.chown is missing)
Victor Stinner [Wed, 31 Oct 2012 00:04:10 +0000 (01:04 +0100)]
Issue #15478: Fix test_os on Windows (os.chown is missing)

12 years agoIssue #9566: Use the right type to fix a compiler warnings on Win64
Victor Stinner [Tue, 30 Oct 2012 23:37:41 +0000 (00:37 +0100)]
Issue #9566: Use the right type to fix a compiler warnings on Win64

12 years agoIssue #9566: Explicit downcast to fix compiler warnings on Win64
Victor Stinner [Tue, 30 Oct 2012 23:33:57 +0000 (00:33 +0100)]
Issue #9566: Explicit downcast to fix compiler warnings on Win64

12 years agoIssue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned
Victor Stinner [Tue, 30 Oct 2012 22:40:45 +0000 (23:40 +0100)]
Issue #16086: PyTypeObject.tp_flags and PyType_Spec.flags are now unsigned

... (unsigned long and unsigned int) to avoid an undefined behaviour with
Py_TPFLAGS_TYPE_SUBCLASS ((1 << 31). PyType_GetFlags() result type is now
unsigned too (unsigned long, instead of long).

12 years agoClose #14625: Rewrite the UTF-32 decoder. It is now 3x to 4x faster
Victor Stinner [Tue, 30 Oct 2012 22:12:47 +0000 (23:12 +0100)]
Close #14625: Rewrite the UTF-32 decoder. It is now 3x to 4x faster

Patch written by Serhiy Storchaka.

12 years agoIssue #16351: New function gc.get_stats() returns per-generation collection statistics.
Antoine Pitrou [Tue, 30 Oct 2012 21:43:19 +0000 (22:43 +0100)]
Issue #16351: New function gc.get_stats() returns per-generation collection statistics.

12 years agoIssue #15721: apply PEP 384 Refactoring to tkinter module.
Andrew Svetlov [Tue, 30 Oct 2012 20:49:16 +0000 (22:49 +0200)]
Issue #15721: apply PEP 384 Refactoring to tkinter module.

12 years agoIssue #16330: Fix compilation on Windows
Victor Stinner [Tue, 30 Oct 2012 01:30:31 +0000 (02:30 +0100)]
Issue #16330: Fix compilation on Windows

12 years agoIssue #15478: Fix compilation on Windows
Victor Stinner [Tue, 30 Oct 2012 01:27:11 +0000 (02:27 +0100)]
Issue #15478: Fix compilation on Windows

12 years agoIssue #15478: Raising an OSError doesn't decode or encode the filename anymore
Victor Stinner [Tue, 30 Oct 2012 01:17:38 +0000 (02:17 +0100)]
Issue #15478: Raising an OSError doesn't decode or encode the filename anymore

Pass the original filename argument to OSError constructor, instead of trying
to encode it to or decode it from the filesystem encoding. This change avoids
an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded
from the filesystem encoding (ANSI code page).

12 years agoIssue #16330: Use surrogate-related macros
Victor Stinner [Tue, 30 Oct 2012 00:42:39 +0000 (01:42 +0100)]
Issue #16330: Use surrogate-related macros

Patch written by Serhiy Storchaka.