summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Closes #19831: Stop tracemalloc later at Python shutdown to be able to useVictor Stinner2013-12-012-67/+15
| | | | | | tracemalloc in objects destructor Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini().
* Undo supposed fix for Issue #15798 until I understand why this isGregory P. Smith2013-12-014-29/+6
|\ | | | | | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4).
| * Undo supposed fix for Issue #15798 until I understand why this isGregory P. Smith2013-12-014-29/+6
| | | | | | | | | | causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4).
* | Fixes Issue #15798 - subprocess.Popen() no longer fails if fileGregory P. Smith2013-12-014-6/+29
|\ \ | |/ | | | | descriptor 0, 1 or 2 is closed.
| * Fixes Issue #15798 - subprocess.Popen() no longer fails if fileGregory P. Smith2013-12-014-6/+29
| | | | | | | | descriptor 0, 1 or 2 is closed.
* | Issue #6477: Merge with 3.3.Alexandre Vassalotti2013-12-013-10/+10
|\ \ | |/
| * Issue #6477: Keep PyNotImplemented_Type and PyNone_Type private.Alexandre Vassalotti2013-12-013-10/+10
| |
* | Issue #6477: Merge with 3.3.Alexandre Vassalotti2013-12-016-4/+58
|\ \ | |/
| * Issue #6477: Added support for pickling the types of built-in singletons.Alexandre Vassalotti2013-12-016-4/+58
| |
* | asyncio: Use Interface instead of ABC. Fixes issue 19726.Guido van Rossum2013-11-303-11/+11
| |
* | Issue #19845: Updated the Compiling Python on Windows docs.Zachary Ware2013-11-302-13/+11
|\ \ | |/
| * Issue #19845: Updated the Compiling Python on Windows docs.Zachary Ware2013-11-302-8/+12
| |
* | Closes #19789: Merged update from 3.3.Vinay Sajip2013-11-301-2/+4
|\ \ | |/
| * Issue #19789: Clarified documentation for logging.disable.Vinay Sajip2013-11-301-2/+4
| |
* | Merge with 3.3.Alexandre Vassalotti2013-11-303-19/+26
|\ \ | |/
| * Fixed _pickle.Unpickler to handle empty persistent IDs correctly.Alexandre Vassalotti2013-11-303-19/+26
| |
* | Issue #17897: Optimized unpickle prefetching.Serhiy Storchaka2013-11-302-30/+24
| |
* | Issue #19088: Merge with 3.3.Alexandre Vassalotti2013-11-302-17/+23
|\ \ | |/
| * Issue #19088: Fix incorrect caching of the copyreg module.Alexandre Vassalotti2013-11-302-17/+23
| | | | | | | | This fix does not cause any degradation in performance.
* | Issue #19728: don't be sensitive to line endingsNick Coghlan2013-11-301-9/+5
| |
* | Issue #19726: actually running 'hg add' helps...Nick Coghlan2013-11-301-0/+30
| |
* | Issue #19728: add private ensurepip._uninstall CLINick Coghlan2013-11-303-18/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Fix and test pip version consistencyNick Coghlan2013-11-303-2/+4
| |
* | Issue #3693: Fix array obscure error message when given a str.Alexandre Vassalotti2013-11-303-18/+43
| |
* | Null mergeZachary Ware2013-11-300-0/+0
|\ \ | |/
| * Issue #19595: Re-enable a long-disabled test in test_winsoundZachary Ware2013-11-282-12/+10
| |
* | More realistic example for selectors.py.Guido van Rossum2013-11-291-30/+37
| |
* | Null mergeSerhiy Storchaka2013-11-290-0/+0
|\ \ | |/
| * Revert unrelated changes introduced by changeset b2066bc8cab9 (issue #19795).Serhiy Storchaka2013-11-291-10/+0
| |
* | Issue #19712: Port test.test_importlib.import_ tests to use PEP 451Brett Cannon2013-11-293-16/+68
| | | | | | | | that don't require changing test.test_importlib.util.mock_modules().
* | Remove trailing blanks.Charles-François Natali2013-11-291-7/+7
| |
* | Set the FDs non-blocking in the selectors example.Charles-François Natali2013-11-291-9/+12
| |
* | asyncio: Add 'shield' to __all__.Guido van Rossum2013-11-291-1/+1
| |
* | Issue #19698: Remove exec_module() from the built-in and extensionBrett Cannon2013-11-295-4324/+4234
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-2944-87/+93
|\ \ | |/
| * Issue #19795: Improved markup of True/False constants.Serhiy Storchaka2013-11-2941-80/+92
| |
* | Use PyDict_GetItemWithError instead of PyDict_GetItem in cpickle.Alexandre Vassalotti2013-11-291-12/+35
| |
* | Remove explicit empty tuple reuse in cpickle.Alexandre Vassalotti2013-11-281-12/+6
| | | | | | | | | | | | 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.
* | Remove the tuple reuse optimization in _Pickle_FastCall.Alexandre Vassalotti2013-11-281-30/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Some minor clarifications in the documentation of pathlib + inheritance diagramEli Bendersky2013-11-282-68/+80
| |
* | Issue #19815: Fix segfault when parsing empty namespace declaration.Eli Bendersky2013-11-282-1/+9
|\ \ | |/ | | | | Based on patches by Christian Heimes and Vajrasky Kok
| * Fix indentation from previous commitEli Bendersky2013-11-281-2/+2
| |
| * Issue #19815: Fix segfault when parsing empty namespace declaration.Eli Bendersky2013-11-282-1/+9
| | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok
* | SNI was added in OpenSSL 0.9.8f [11 Oct 2007], tooChristian Heimes2013-11-281-1/+1
| |
* | ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIMEChristian Heimes2013-11-282-0/+4
| |
* | Issue #19595: Re-enable a long-disabled test in test_winsoundZachary Ware2013-11-282-12/+10
| |
* | Encapsulate cpickle global state in a dedicated object.Alexandre Vassalotti2013-11-281-270/+426
| | | | | | | | | | This implements PEP 3121 module finalization as well. This change does not cause any significant impact on performance.
* | Change pathlib documentation to use "raise" instead of "throw".Ned Deily2013-11-271-2/+2
| |
* | Issue #19818: tracemalloc, the number of frame limit cannot be zero anymoreVictor Stinner2013-11-271-3/+3
| |
* | asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() ↵Guido van Rossum2013-11-272-78/+207
| | | | | | | | accept bytearray/memoryview too. Change some asserts with proper exceptions.