]>
granicus.if.org Git - python/log
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
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.
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
Victor Stinner [Wed, 31 Oct 2012 21:16:38 +0000 (22:16 +0100)]
Issue #15478: Fix again to fix test_os on 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
Andrew Svetlov [Wed, 31 Oct 2012 20:38:44 +0000 (22:38 +0200)]
Merge issue #16377: Fix bisect unittest.
Patch by Yury Selivanov.
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:43 +0000 (22:06 +0200)]
null merge
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:20 +0000 (22:04 +0200)]
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.
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:21 +0000 (19:45 +0000)]
Issue #16348: merge fix from 3.3.
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.
Benjamin Peterson [Wed, 31 Oct 2012 18:22:31 +0000 (14:22 -0400)]
merge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 18:22:25 +0000 (14:22 -0400)]
merge 3.2
Benjamin Peterson [Wed, 31 Oct 2012 18:22:12 +0000 (14:22 -0400)]
avoid a function call with redundant checks for dict size
Benjamin Peterson [Wed, 31 Oct 2012 18:16:22 +0000 (14:16 -0400)]
merge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 18:16:17 +0000 (14:16 -0400)]
merge 3.2
Benjamin Peterson [Wed, 31 Oct 2012 18:16:09 +0000 (14:16 -0400)]
fix spelling
Benjamin Peterson [Wed, 31 Oct 2012 18:10:04 +0000 (14:10 -0400)]
merge 3.3 (#16345)
Benjamin Peterson [Wed, 31 Oct 2012 18:09:11 +0000 (14:09 -0400)]
merge 3.2 (#16345)
Benjamin Peterson [Wed, 31 Oct 2012 18:06:07 +0000 (14:06 -0400)]
merge heads
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)
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.
Benjamin Peterson [Wed, 31 Oct 2012 17:36:21 +0000 (13:36 -0400)]
merge heads
Benjamin Peterson [Wed, 31 Oct 2012 17:36:13 +0000 (13:36 -0400)]
make PyGrammar_LabelRepr return a const char * (closes #16369)
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.
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.
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!
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!
Jesus Cea [Wed, 31 Oct 2012 16:00:59 +0000 (17:00 +0100)]
Closes #16369: Global PyTypeObjects not initialized with PyType_Ready(...). DOCUMENT IT!
R David Murray [Wed, 31 Oct 2012 14:52:16 +0000 (10:52 -0400)]
merge #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.
R David Murray [Wed, 31 Oct 2012 14:50:27 +0000 (10:50 -0400)]
#16371: fix up the English a bit more.
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.
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.
Andrew Svetlov [Wed, 31 Oct 2012 14:20:54 +0000 (16:20 +0200)]
Issue #16371: fix typo in ctypes documentation.
Thanks to George Yoshida.
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.
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.
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.
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@
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@
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@
Andrew Svetlov [Wed, 31 Oct 2012 09:51:39 +0000 (11:51 +0200)]
Merge: 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
Andrew Svetlov [Wed, 31 Oct 2012 09:50:40 +0000 (11:50 +0200)]
Fix docstring for deque ctor to mark iterable parameter optional
Andrew Svetlov [Wed, 31 Oct 2012 09:30:18 +0000 (11:30 +0200)]
Merge: fix typo in mock docs.
Andrew Svetlov [Wed, 31 Oct 2012 09:29:52 +0000 (11:29 +0200)]
Fix typo in mock docs.
Benjamin Peterson [Wed, 31 Oct 2012 04:04:42 +0000 (00:04 -0400)]
merge 3.3
Benjamin Peterson [Wed, 31 Oct 2012 04:01:15 +0000 (00:01 -0400)]
do safety checks on __qualname__ assignment
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)
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
Benjamin Peterson [Wed, 31 Oct 2012 03:31:12 +0000 (23:31 -0400)]
merge 3.3 (#16369)
Benjamin Peterson [Wed, 31 Oct 2012 03:27:52 +0000 (23:27 -0400)]
merge 3.2 (#16369)
Benjamin Peterson [Wed, 31 Oct 2012 03:21:10 +0000 (23:21 -0400)]
initialize more global type objects (closes #16369)
R David Murray [Wed, 31 Oct 2012 00:20:54 +0000 (20:20 -0400)]
#12890: fix test on windows
Patch by Stephen Tonkin.
R David Murray [Wed, 31 Oct 2012 00:20:09 +0000 (20:20 -0400)]
#12890: fix test on windows
Patch by Stephen Tonkin.
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.
Victor Stinner [Wed, 31 Oct 2012 00:04:10 +0000 (01:04 +0100)]
Issue #15478: Fix test_os on Windows (os.chown is missing)
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
Victor Stinner [Tue, 30 Oct 2012 23:33:57 +0000 (00:33 +0100)]
Issue #9566: Explicit downcast to fix compiler warnings on Win64
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).
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.
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.
Andrew Svetlov [Tue, 30 Oct 2012 20:49:16 +0000 (22:49 +0200)]
Issue #15721: apply PEP 384 Refactoring to tkinter module.
Victor Stinner [Tue, 30 Oct 2012 01:30:31 +0000 (02:30 +0100)]
Issue #16330: Fix compilation on Windows
Victor Stinner [Tue, 30 Oct 2012 01:27:11 +0000 (02:27 +0100)]
Issue #15478: Fix compilation on Windows
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).
Victor Stinner [Tue, 30 Oct 2012 00:42:39 +0000 (01:42 +0100)]
Issue #16330: Use surrogate-related macros
Patch written by Serhiy Storchaka.