]> granicus.if.org Git - python/log
python
11 years agoIssue #19754: Fix typo.
Alexandre Vassalotti [Mon, 2 Dec 2013 00:31:49 +0000 (16:31 -0800)]
Issue #19754: Fix typo.

11 years agoIssue #19754: Make pickletools.optimize respect the frame size target.
Alexandre Vassalotti [Mon, 2 Dec 2013 00:27:46 +0000 (16:27 -0800)]
Issue #19754: Make pickletools.optimize respect the frame size target.

11 years agoFixes issue #15798: subprocess.Popen() no longer fails if file
Gregory P. Smith [Mon, 2 Dec 2013 00:03:24 +0000 (16:03 -0800)]
Fixes issue #15798: subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed. (correct fix for 3.4 this time)

11 years agoIssue #11480: Merge with 3.3.
Alexandre Vassalotti [Sun, 1 Dec 2013 21:26:32 +0000 (13:26 -0800)]
Issue #11480: Merge with 3.3.

11 years agoIssue #11480: Fixed copy.copy to work with classes with custom metaclasses.
Alexandre Vassalotti [Sun, 1 Dec 2013 21:25:26 +0000 (13:25 -0800)]
Issue #11480: Fixed copy.copy to work with classes with custom metaclasses.

Patch by Daniel Urban.

11 years agoIssue #18994: Add a missing check for a return value in fcntmodule. Patch by
Charles-François Natali [Sun, 1 Dec 2013 13:30:47 +0000 (14:30 +0100)]
Issue #18994: Add a missing check for a return value in fcntmodule. Patch by
Vajrasky Kok.

11 years agoIssue #19849: selectors: Document the possibility of early select() wakeup upon
Charles-François Natali [Sun, 1 Dec 2013 12:23:48 +0000 (13:23 +0100)]
Issue #19849: selectors: Document the possibility of early select() wakeup upon
EINTR.

11 years agoIssue #19842: Refactor BaseSelector to make it an actual usable ABC.
Charles-François Natali [Sun, 1 Dec 2013 10:04:17 +0000 (11:04 +0100)]
Issue #19842: Refactor BaseSelector to make it an actual usable ABC.

11 years agoCloses #19831: Stop tracemalloc later at Python shutdown to be able to use
Victor Stinner [Sun, 1 Dec 2013 09:03:26 +0000 (10:03 +0100)]
Closes #19831: Stop tracemalloc later at Python shutdown to be able to use
tracemalloc in objects destructor

Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini().

11 years agoUndo supposed fix for Issue #15798 until I understand why this is
Gregory P. Smith [Sun, 1 Dec 2013 08:13:35 +0000 (00:13 -0800)]
Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).

11 years agoUndo supposed fix for Issue #15798 until I understand why this is
Gregory P. Smith [Sun, 1 Dec 2013 08:12:24 +0000 (00:12 -0800)]
Undo supposed fix for Issue #15798 until I understand why this is
causing test_multiprocessing_forkserver and test_multiprocessing_spawn
failures on head (3.4).

11 years agoFixes Issue #15798 - subprocess.Popen() no longer fails if file
Gregory P. Smith [Sun, 1 Dec 2013 03:04:00 +0000 (19:04 -0800)]
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.

11 years agoFixes Issue #15798 - subprocess.Popen() no longer fails if file
Gregory P. Smith [Sun, 1 Dec 2013 03:02:57 +0000 (19:02 -0800)]
Fixes Issue #15798 - subprocess.Popen() no longer fails if file
descriptor 0, 1 or 2 is closed.

11 years agoIssue #6477: Merge with 3.3.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:58:53 +0000 (17:58 -0800)]
Issue #6477: Merge with 3.3.

11 years agoIssue #6477: Keep PyNotImplemented_Type and PyNone_Type private.
Alexandre Vassalotti [Sun, 1 Dec 2013 01:55:48 +0000 (17:55 -0800)]
Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.

11 years agoIssue #6477: Merge with 3.3.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:21:20 +0000 (16:21 -0800)]
Issue #6477: Merge with 3.3.

11 years agoIssue #6477: Added support for pickling the types of built-in singletons.
Alexandre Vassalotti [Sun, 1 Dec 2013 00:06:39 +0000 (16:06 -0800)]
Issue #6477: Added support for pickling the types of built-in singletons.

11 years agoasyncio: Use Interface instead of ABC. Fixes issue 19726.
Guido van Rossum [Sat, 30 Nov 2013 23:35:42 +0000 (15:35 -0800)]
asyncio: Use Interface instead of ABC.  Fixes issue 19726.

11 years agoIssue #19845: Updated the Compiling Python on Windows docs.
Zachary Ware [Sat, 30 Nov 2013 23:03:03 +0000 (17:03 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.

11 years agoIssue #19845: Updated the Compiling Python on Windows docs.
Zachary Ware [Sat, 30 Nov 2013 22:59:33 +0000 (16:59 -0600)]
Issue #19845: Updated the Compiling Python on Windows docs.

11 years agoCloses #19789: Merged update from 3.3.
Vinay Sajip [Sat, 30 Nov 2013 22:46:29 +0000 (22:46 +0000)]
Closes #19789: Merged update from 3.3.

11 years agoIssue #19789: Clarified documentation for logging.disable.
Vinay Sajip [Sat, 30 Nov 2013 22:45:29 +0000 (22:45 +0000)]
Issue #19789: Clarified documentation for logging.disable.

11 years agoMerge with 3.3.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:55:39 +0000 (13:55 -0800)]
Merge with 3.3.

11 years agoFixed _pickle.Unpickler to handle empty persistent IDs correctly.
Alexandre Vassalotti [Sat, 30 Nov 2013 21:52:35 +0000 (13:52 -0800)]
Fixed _pickle.Unpickler to handle empty persistent IDs correctly.

11 years agoIssue #17897: Optimized unpickle prefetching.
Serhiy Storchaka [Sat, 30 Nov 2013 21:15:38 +0000 (23:15 +0200)]
Issue #17897: Optimized unpickle prefetching.

11 years agoIssue #19088: Merge with 3.3.
Alexandre Vassalotti [Sat, 30 Nov 2013 09:05:51 +0000 (01:05 -0800)]
Issue #19088: Merge with 3.3.

11 years agoIssue #19088: Fix incorrect caching of the copyreg module.
Alexandre Vassalotti [Sat, 30 Nov 2013 08:53:09 +0000 (00:53 -0800)]
Issue #19088: Fix incorrect caching of the copyreg module.

This fix does not cause any degradation in performance.

11 years agoIssue #19728: don't be sensitive to line endings
Nick Coghlan [Sat, 30 Nov 2013 08:35:32 +0000 (18:35 +1000)]
Issue #19728: don't be sensitive to line endings

11 years agoIssue #19726: actually running 'hg add' helps...
Nick Coghlan [Sat, 30 Nov 2013 07:45:09 +0000 (17:45 +1000)]
Issue #19726: actually running 'hg add' helps...

11 years agoIssue #19728: add private ensurepip._uninstall CLI
Nick Coghlan [Sat, 30 Nov 2013 07:15:09 +0000 (17:15 +1000)]
Issue #19728: add private ensurepip._uninstall CLI

MvL would like to be able to preserve CPython's existing clean
uninstall behaviour on Windows before enabling the pip
installation option by default.

This private CLI means running "python -m ensurepip._uninstall"
will remove pip and setuptools before proceeding with the rest
of the uninstallation process.

If the version of pip differs from the one bootstrapped by
CPython, then the uninstallation helper will leave it alone
(just like any other pip installed packages)

11 years agoFix and test pip version consistency
Nick Coghlan [Sat, 30 Nov 2013 05:56:58 +0000 (15:56 +1000)]
Fix and test pip version consistency

11 years agoIssue #3693: Fix array obscure error message when given a str.
Alexandre Vassalotti [Sat, 30 Nov 2013 04:47:15 +0000 (20:47 -0800)]
Issue #3693: Fix array obscure error message when given a str.

11 years agoNull merge
Zachary Ware [Sat, 30 Nov 2013 03:14:22 +0000 (21:14 -0600)]
Null merge

11 years agoMore realistic example for selectors.py.
Guido van Rossum [Fri, 29 Nov 2013 22:51:18 +0000 (14:51 -0800)]
More realistic example for selectors.py.

11 years agoNull merge
Serhiy Storchaka [Fri, 29 Nov 2013 21:42:55 +0000 (23:42 +0200)]
Null merge

11 years agoRevert unrelated changes introduced by changeset b2066bc8cab9 (issue #19795).
Serhiy Storchaka [Fri, 29 Nov 2013 21:40:35 +0000 (23:40 +0200)]
Revert unrelated changes introduced by changeset b2066bc8cab9  (issue #19795).

11 years agoIssue #19712: Port test.test_importlib.import_ tests to use PEP 451
Brett Cannon [Fri, 29 Nov 2013 21:17:05 +0000 (16:17 -0500)]
Issue #19712: Port test.test_importlib.import_ tests to use PEP 451
that don't require changing test.test_importlib.util.mock_modules().

11 years agoRemove trailing blanks.
Charles-François Natali [Fri, 29 Nov 2013 17:57:47 +0000 (18:57 +0100)]
Remove trailing blanks.

11 years agoSet the FDs non-blocking in the selectors example.
Charles-François Natali [Fri, 29 Nov 2013 17:52:51 +0000 (18:52 +0100)]
Set the FDs non-blocking in the selectors example.

11 years agoasyncio: Add 'shield' to __all__.
Guido van Rossum [Fri, 29 Nov 2013 17:29:00 +0000 (09:29 -0800)]
asyncio: Add 'shield' to __all__.

11 years agoIssue #19698: Remove exec_module() from the built-in and extension
Brett Cannon [Fri, 29 Nov 2013 16:00:11 +0000 (11:00 -0500)]
Issue #19698: Remove exec_module() from the built-in and extension
module loaders.

Due to the fact that the call signatures for extension modules and
built-in modules does not allow for the specifying of what module to
initialize and that on Windows all extension modules are built-in
modules, work to clean up built-in and extension module initialization
will have to wait until Python 3.5. Because of this the semantics of
exec_module() would be incorrect, so removing the methods for now is
the best option; load_module() is still used as a fallback by
importlib and so this won't affect semantics.

11 years agoIssue #19795: Improved markup of True/False constants.
Serhiy Storchaka [Fri, 29 Nov 2013 10:19:53 +0000 (12:19 +0200)]
Issue #19795: Improved markup of True/False constants.

11 years agoIssue #19795: Improved markup of True/False constants.
Serhiy Storchaka [Fri, 29 Nov 2013 10:17:13 +0000 (12:17 +0200)]
Issue #19795: Improved markup of True/False constants.

11 years agoUse PyDict_GetItemWithError instead of PyDict_GetItem in cpickle.
Alexandre Vassalotti [Fri, 29 Nov 2013 01:09:16 +0000 (17:09 -0800)]
Use PyDict_GetItemWithError instead of PyDict_GetItem in cpickle.

11 years agoRemove explicit empty tuple reuse in cpickle.
Alexandre Vassalotti [Thu, 28 Nov 2013 23:17:29 +0000 (15:17 -0800)]
Remove explicit empty tuple reuse in cpickle.

PyTuple_New(0) always returns the same empty tuple from its free list anyway,
so we are not saving much here. Plus, the code where this was used is on
uncommon run paths.

11 years agoRemove the tuple reuse optimization in _Pickle_FastCall.
Alexandre Vassalotti [Thu, 28 Nov 2013 22:56:09 +0000 (14:56 -0800)]
Remove the tuple reuse optimization in _Pickle_FastCall.

I have noticed a race-condition occurring on one of the buildbots because of
this optimization. The function called may release the GIL which means
multiple threads may end up accessing the shared tuple. I could fix it up by
storing the tuple to the Pickler and Unipickler object again, but honestly it
really not worth the trouble.

I ran many benchmarks and the only time the optimization helps is when using a
fin-memory file, like io.BytesIO on which reads are super cheap, combined with
pickle protocol less than 4. Even in this contrived case, the speedup is a
about 5%. For everything else, this optimization does not provide any
noticable improvements.

11 years agoSome minor clarifications in the documentation of pathlib + inheritance diagram
Eli Bendersky [Thu, 28 Nov 2013 14:53:05 +0000 (06:53 -0800)]
Some minor clarifications in the documentation of pathlib + inheritance diagram

11 years agoIssue #19815: Fix segfault when parsing empty namespace declaration.
Eli Bendersky [Thu, 28 Nov 2013 14:35:40 +0000 (06:35 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.

Based on patches by Christian Heimes and Vajrasky Kok

11 years agoFix indentation from previous commit
Eli Bendersky [Thu, 28 Nov 2013 14:33:21 +0000 (06:33 -0800)]
Fix indentation from previous commit

11 years agoIssue #19815: Fix segfault when parsing empty namespace declaration.
Eli Bendersky [Thu, 28 Nov 2013 14:31:58 +0000 (06:31 -0800)]
Issue #19815: Fix segfault when parsing empty namespace declaration.

Based on patches by Christian Heimes and Vajrasky Kok

11 years agoSNI was added in OpenSSL 0.9.8f [11 Oct 2007], too
Christian Heimes [Thu, 28 Nov 2013 14:12:15 +0000 (15:12 +0100)]
SNI was added in OpenSSL 0.9.8f  [11 Oct 2007], too

11 years agossl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME
Christian Heimes [Thu, 28 Nov 2013 07:06:54 +0000 (08:06 +0100)]
ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME

11 years agoIssue #19595: Re-enable a long-disabled test in test_winsound
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound

11 years agoIssue #19595: Re-enable a long-disabled test in test_winsound
Zachary Ware [Thu, 28 Nov 2013 05:56:04 +0000 (23:56 -0600)]
Issue #19595: Re-enable a long-disabled test in test_winsound

11 years agoEncapsulate cpickle global state in a dedicated object.
Alexandre Vassalotti [Thu, 28 Nov 2013 03:36:52 +0000 (19:36 -0800)]
Encapsulate cpickle global state in a dedicated object.

This implements PEP 3121 module finalization as well. This change does not
cause any significant impact on performance.

11 years agoChange pathlib documentation to use "raise" instead of "throw".
Ned Deily [Wed, 27 Nov 2013 22:42:55 +0000 (14:42 -0800)]
Change pathlib documentation to use "raise" instead of "throw".

11 years agoIssue #19818: tracemalloc, the number of frame limit cannot be zero anymore
Victor Stinner [Wed, 27 Nov 2013 22:39:55 +0000 (23:39 +0100)]
Issue #19818: tracemalloc, the number of frame limit cannot be zero anymore

11 years agoasyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept bytea...
Guido van Rossum [Wed, 27 Nov 2013 22:12:48 +0000 (14:12 -0800)]
asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept bytearray/memoryview too. Change some asserts with proper exceptions.

11 years agoCloses #19786: tracemalloc, remove the arbitrary limit of 100 frames
Victor Stinner [Wed, 27 Nov 2013 21:27:13 +0000 (22:27 +0100)]
Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames

The limit is now 178,956,969 on 64 bit (it is greater on 32 bit because
structures are smaller).

Use int instead of Py_ssize_t to store the number of frames to have smaller
traceback_t objects.

11 years agoClose #19798: replace "maximum" term with "peak" in get_traced_memory()
Victor Stinner [Wed, 27 Nov 2013 20:39:49 +0000 (21:39 +0100)]
Close #19798: replace "maximum" term with "peak" in get_traced_memory()
documentation. Use also the term "current" for the current size.

11 years agoasyncio: Fix get_event_loop() to call set_event_loop() when setting the loop. By...
Guido van Rossum [Wed, 27 Nov 2013 18:37:13 +0000 (10:37 -0800)]
asyncio: Fix get_event_loop() to call set_event_loop() when setting the loop. By Anthony Baire.

11 years agoadd SO_PRIORITY (closes #19802)
Benjamin Peterson [Wed, 27 Nov 2013 15:18:54 +0000 (09:18 -0600)]
add SO_PRIORITY (closes #19802)

Patch by Claudiu Popa.

11 years agoCombine the FastCall functions in cpickle.
Alexandre Vassalotti [Wed, 27 Nov 2013 10:26:54 +0000 (02:26 -0800)]
Combine the FastCall functions in cpickle.

I fixed the bug that was in my previous attempt of this cleanup. I ran
the full test suite to verify I didn't introduce any obvious bugs.

11 years agoSkip test_find_mac on Windows (issue #19804).
Serhiy Storchaka [Wed, 27 Nov 2013 06:58:13 +0000 (08:58 +0200)]
Skip test_find_mac on Windows (issue #19804).

This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.

11 years agoSkip test_find_mac on Windows (issue #19804).
Serhiy Storchaka [Wed, 27 Nov 2013 06:57:51 +0000 (08:57 +0200)]
Skip test_find_mac on Windows (issue #19804).

This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.

11 years agomerge 3.3 (#19805)
Benjamin Peterson [Wed, 27 Nov 2013 05:05:37 +0000 (23:05 -0600)]
merge 3.3 (#19805)

11 years agorecommend OrderedDict for this FAQ (closes #19805)
Benjamin Peterson [Wed, 27 Nov 2013 05:05:25 +0000 (23:05 -0600)]
recommend OrderedDict for this FAQ (closes #19805)

11 years agomerge 3.3 (#19729)
Benjamin Peterson [Wed, 27 Nov 2013 01:24:01 +0000 (19:24 -0600)]
merge 3.3 (#19729)

11 years agofix format spec recursive expansion (closes #19729)
Benjamin Peterson [Wed, 27 Nov 2013 01:22:36 +0000 (19:22 -0600)]
fix format spec recursive expansion (closes #19729)

11 years agoIssue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
Zachary Ware [Tue, 26 Nov 2013 22:34:45 +0000 (16:34 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.

11 years agoIssue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
Zachary Ware [Tue, 26 Nov 2013 22:32:59 +0000 (16:32 -0600)]
Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the
pythoncore sub-project.  This should prevent build errors due a previous
build's python(_d).exe still running.

11 years agoMerge with 3.3
Zachary Ware [Tue, 26 Nov 2013 20:58:10 +0000 (14:58 -0600)]
Merge with 3.3

11 years agoMerge heads
Zachary Ware [Tue, 26 Nov 2013 20:57:45 +0000 (14:57 -0600)]
Merge heads

11 years agoMerge heads
Zachary Ware [Tue, 26 Nov 2013 20:57:10 +0000 (14:57 -0600)]
Merge heads

11 years agoIssue #19588: Merge with 3.3
Zachary Ware [Tue, 26 Nov 2013 20:54:21 +0000 (14:54 -0600)]
Issue #19588: Merge with 3.3

11 years agoIssue #19588: Fixed tests in test_random that were silently skipped most
Zachary Ware [Tue, 26 Nov 2013 20:50:10 +0000 (14:50 -0600)]
Issue #19588: Fixed tests in test_random that were silently skipped most
of the time.  Patch by Julian Gindi.

11 years agoIssue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
Serhiy Storchaka [Tue, 26 Nov 2013 20:49:36 +0000 (22:49 +0200)]
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface.  Original patch by Kent Frazier.

11 years agoIssue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
Serhiy Storchaka [Tue, 26 Nov 2013 20:47:16 +0000 (22:47 +0200)]
Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with
virtual interface.  Original patch by Kent Frazier.

11 years agoUse @bigmemtest more accurately.
Mark Dickinson [Tue, 26 Nov 2013 20:29:06 +0000 (20:29 +0000)]
Use @bigmemtest more accurately.

11 years agoUse @bigmemtest more accurately.
Mark Dickinson [Tue, 26 Nov 2013 20:28:29 +0000 (20:28 +0000)]
Use @bigmemtest more accurately.

11 years agoIssue #19793: Improved markup for True/False constants in pathlib documentation.
Serhiy Storchaka [Tue, 26 Nov 2013 19:37:12 +0000 (21:37 +0200)]
Issue #19793: Improved markup for True/False constants in pathlib documentation.

11 years agoIssue #11489: JSON decoder now accepts lone surrogates.
Serhiy Storchaka [Tue, 26 Nov 2013 19:27:11 +0000 (21:27 +0200)]
Issue #11489: JSON decoder now accepts lone surrogates.

11 years agoIssue #11489: JSON decoder now accepts lone surrogates.
Serhiy Storchaka [Tue, 26 Nov 2013 19:25:28 +0000 (21:25 +0200)]
Issue #11489: JSON decoder now accepts lone surrogates.

11 years agoIssue #19638: Merge from 3.3
Mark Dickinson [Tue, 26 Nov 2013 16:19:38 +0000 (16:19 +0000)]
Issue #19638: Merge from 3.3

11 years agoIssue #19638: Raise ValueError instead of crashing when converting billion character...
Mark Dickinson [Tue, 26 Nov 2013 16:19:13 +0000 (16:19 +0000)]
Issue #19638: Raise ValueError instead of crashing when converting billion character strings to float.

11 years agoIssue #19794: Improved markup for True/False constants.
Serhiy Storchaka [Tue, 26 Nov 2013 15:33:13 +0000 (17:33 +0200)]
Issue #19794: Improved markup for True/False constants.

11 years agoIssue #19794: Improved markup for True/False constants.
Serhiy Storchaka [Tue, 26 Nov 2013 15:32:16 +0000 (17:32 +0200)]
Issue #19794: Improved markup for True/False constants.

11 years agoIssue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.
Serhiy Storchaka [Tue, 26 Nov 2013 15:08:24 +0000 (17:08 +0200)]
Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.
Change stacklevel in warnings.warn() for 'SO' key to 2.

11 years agotracemalloc: fix get_traced_memory() docstring for result type
Victor Stinner [Tue, 26 Nov 2013 09:46:06 +0000 (10:46 +0100)]
tracemalloc: fix get_traced_memory() docstring for result type

11 years agotracemalloc: Fix hash methods of Statistic and StatisticDiff
Victor Stinner [Tue, 26 Nov 2013 09:16:25 +0000 (10:16 +0100)]
tracemalloc: Fix hash methods of Statistic and StatisticDiff

11 years agomerge with 3.3
Georg Brandl [Tue, 26 Nov 2013 07:25:45 +0000 (08:25 +0100)]
merge with 3.3

11 years agoMarkup fix.
Georg Brandl [Tue, 26 Nov 2013 07:25:24 +0000 (08:25 +0100)]
Markup fix.

11 years agoFix suspicious test case
Christian Heimes [Tue, 26 Nov 2013 00:32:15 +0000 (01:32 +0100)]
Fix suspicious test case

11 years agoIssue #18874: Fix typo
Victor Stinner [Tue, 26 Nov 2013 00:18:52 +0000 (01:18 +0100)]
Issue #18874: Fix typo

11 years agoIssue #18874: make it more explicit than set_reentrant() only accept 0 or 1
Victor Stinner [Tue, 26 Nov 2013 00:08:53 +0000 (01:08 +0100)]
Issue #18874: make it more explicit than set_reentrant() only accept 0 or 1

11 years agoIssue #18874: tracemalloc: Comment the trace_t structure
Victor Stinner [Tue, 26 Nov 2013 00:06:02 +0000 (01:06 +0100)]
Issue #18874: tracemalloc: Comment the trace_t structure

11 years agoIssue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True)
Victor Stinner [Mon, 25 Nov 2013 23:45:47 +0000 (00:45 +0100)]
Issue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True)
with traceback_limit=1

11 years agoIssue #18874: apply Jim Jewett's patch on tracemalloc doc
Victor Stinner [Mon, 25 Nov 2013 23:40:10 +0000 (00:40 +0100)]
Issue #18874: apply Jim Jewett's patch on tracemalloc doc

11 years agoIssue #18874: tracemalloc: explain the purpose of get_traces.tracebacks in a comment
Victor Stinner [Mon, 25 Nov 2013 23:26:23 +0000 (00:26 +0100)]
Issue #18874: tracemalloc: explain the purpose of get_traces.tracebacks in a comment

11 years agoasyncio: Add StreamReaderProtocol to __all__.
Guido van Rossum [Mon, 25 Nov 2013 23:07:18 +0000 (15:07 -0800)]
asyncio: Add StreamReaderProtocol to __all__.