summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* | merge 3.3 (#19805)Benjamin Peterson2013-11-271-27/+3
|\ \ | |/
| * recommend OrderedDict for this FAQ (closes #19805)Benjamin Peterson2013-11-271-27/+3
| |
* | merge 3.3 (#19729)Benjamin Peterson2013-11-272-0/+4
|\ \ | |/
| * fix format spec recursive expansion (closes #19729)Benjamin Peterson2013-11-273-2/+7
| |
* | Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on theZachary Ware2013-11-264-4/+56
|\ \ | |/ | | | | | | pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running.
| * Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on theZachary Ware2013-11-264-4/+54
| | | | | | | | | | pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running.
* | Merge with 3.3Zachary Ware2013-11-260-0/+0
|\ \ | |/
| * Merge headsZachary Ware2013-11-264-2/+35
| |\
* | \ Merge headsZachary Ware2013-11-264-2/+35
|\ \ \
| * \ \ Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment withSerhiy Storchaka2013-11-264-2/+35
| |\ \ \ | | | |/ | | |/| | | | | virtual interface. Original patch by Kent Frazier.
| | * | Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment withSerhiy Storchaka2013-11-264-2/+35
| | | | | | | | | | | | | | | | virtual interface. Original patch by Kent Frazier.
* | | | Issue #19588: Merge with 3.3Zachary Ware2013-11-263-6/+13
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Issue #19588: Fixed tests in test_random that were silently skipped mostZachary Ware2013-11-263-6/+10
| |/ | | | | | | of the time. Patch by Julian Gindi.
* | Use @bigmemtest more accurately.Mark Dickinson2013-11-261-3/+3
|\ \ | |/
| * Use @bigmemtest more accurately.Mark Dickinson2013-11-261-3/+3
| |
* | Issue #19793: Improved markup for True/False constants in pathlib documentation.Serhiy Storchaka2013-11-261-28/+28
| |
* | Issue #11489: JSON decoder now accepts lone surrogates.Serhiy Storchaka2013-11-264-41/+73
|\ \ | |/
| * Issue #11489: JSON decoder now accepts lone surrogates.Serhiy Storchaka2013-11-264-41/+73
| |
* | Issue #19638: Merge from 3.3Mark Dickinson2013-11-263-12/+77
|\ \ | |/
| * Issue #19638: Raise ValueError instead of crashing when converting billion ↵Mark Dickinson2013-11-263-12/+77
| | | | | | | | character strings to float.
* | Issue #19794: Improved markup for True/False constants.Serhiy Storchaka2013-11-261-13/+13
|\ \ | |/
| * Issue #19794: Improved markup for True/False constants.Serhiy Storchaka2013-11-261-13/+13
| |
* | Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.Serhiy Storchaka2013-11-264-8/+10
| | | | | | | | Change stacklevel in warnings.warn() for 'SO' key to 2.
* | tracemalloc: fix get_traced_memory() docstring for result typeVictor Stinner2013-11-261-1/+1
| |
* | tracemalloc: Fix hash methods of Statistic and StatisticDiffVictor Stinner2013-11-261-4/+3
| |
* | merge with 3.3Georg Brandl2013-11-261-1/+0
|\ \ | |/
| * Markup fix.Georg Brandl2013-11-261-1/+0
| |