summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | Closes #19786: tracemalloc, remove the arbitrary limit of 100 framesVictor Stinner2013-11-272-27/+40
| | | | | | | | | | | | | | | | 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.
* | Close #19798: replace "maximum" term with "peak" in get_traced_memory()Victor Stinner2013-11-273-21/+21
| | | | | | | | documentation. Use also the term "current" for the current size.
* | asyncio: Fix get_event_loop() to call set_event_loop() when setting the ↵Guido van Rossum2013-11-272-1/+17
| | | | | | | | loop. By Anthony Baire.
* | add SO_PRIORITY (closes #19802)Benjamin Peterson2013-11-272-0/+5
| | | | | | | | Patch by Claudiu Popa.
* | Combine the FastCall functions in cpickle.Alexandre Vassalotti2013-11-271-90/+42
| | | | | | | | | | 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.
* | Skip test_find_mac on Windows (issue #19804).Serhiy Storchaka2013-11-271-0/+1
|\ \ | |/ | | | | This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
| * Skip test_find_mac on Windows (issue #19804).Serhiy Storchaka2013-11-271-0/+1
| | | | | | | | This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.