Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 44 | -87/+93 |
|\ | |||||
| * | Issue #19795: Improved markup of True/False constants. | Serhiy Storchaka | 2013-11-29 | 41 | -80/+92 |
| | | |||||
* | | Use PyDict_GetItemWithError instead of PyDict_GetItem in cpickle. | Alexandre Vassalotti | 2013-11-29 | 1 | -12/+35 |
| | | |||||
* | | Remove explicit empty tuple reuse in cpickle. | Alexandre Vassalotti | 2013-11-28 | 1 | -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 Vassalotti | 2013-11-28 | 1 | -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 diagram | Eli Bendersky | 2013-11-28 | 2 | -68/+80 |
| | | |||||
* | | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 2 | -1/+9 |
|\ \ | |/ | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
| * | Fix indentation from previous commit | Eli Bendersky | 2013-11-28 | 1 | -2/+2 |
| | | |||||
| * | Issue #19815: Fix segfault when parsing empty namespace declaration. | Eli Bendersky | 2013-11-28 | 2 | -1/+9 |
| | | | | | | | | Based on patches by Christian Heimes and Vajrasky Kok | ||||
* | | SNI was added in OpenSSL 0.9.8f [11 Oct 2007], too | Christian Heimes | 2013-11-28 | 1 | -1/+1 |
| | | |||||
* | | ssl.create_default_context() sets OP_NO_COMPRESSION to prevent CRIME | Christian Heimes | 2013-11-28 | 2 | -0/+4 |
| | | |||||
* | | Issue #19595: Re-enable a long-disabled test in test_winsound | Zachary Ware | 2013-11-28 | 2 | -12/+10 |
| | | |||||
* | | Encapsulate cpickle global state in a dedicated object. | Alexandre Vassalotti | 2013-11-28 | 1 | -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 Deily | 2013-11-27 | 1 | -2/+2 |
| | | |||||
* | | Issue #19818: tracemalloc, the number of frame limit cannot be zero anymore | Victor Stinner | 2013-11-27 | 1 | -3/+3 |
| | | |||||
* | | asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() ↵ | Guido van Rossum | 2013-11-27 | 2 | -78/+207 |
| | | | | | | | | accept bytearray/memoryview too. Change some asserts with proper exceptions. | ||||
* | | Closes #19786: tracemalloc, remove the arbitrary limit of 100 frames | Victor Stinner | 2013-11-27 | 2 | -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 Stinner | 2013-11-27 | 3 | -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 Rossum | 2013-11-27 | 2 | -1/+17 |
| | | | | | | | | loop. By Anthony Baire. | ||||
* | | add SO_PRIORITY (closes #19802) | Benjamin Peterson | 2013-11-27 | 2 | -0/+5 |
| | | | | | | | | Patch by Claudiu Popa. | ||||
* | | Combine the FastCall functions in cpickle. | Alexandre Vassalotti | 2013-11-27 | 1 | -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 Storchaka | 2013-11-27 | 1 | -0/+1 |
|\ \ | |/ | | | | | This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin. | ||||
| * | Skip test_find_mac on Windows (issue #19804). | Serhiy Storchaka | 2013-11-27 | 1 | -0/+1 |
| | | | | | | | | This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin. | ||||
* | | merge 3.3 (#19805) | Benjamin Peterson | 2013-11-27 | 1 | -27/+3 |
|\ \ | |/ | |||||
| * | recommend OrderedDict for this FAQ (closes #19805) | Benjamin Peterson | 2013-11-27 | 1 | -27/+3 |
| | | |||||
* | | merge 3.3 (#19729) | Benjamin Peterson | 2013-11-27 | 2 | -0/+4 |
|\ \ | |/ | |||||
| * | fix format spec recursive expansion (closes #19729) | Benjamin Peterson | 2013-11-27 | 3 | -2/+7 |
| | | |||||
* | | Issue #19788: kill_python(_d).exe is now run as a PreBuildEvent on the | Zachary Ware | 2013-11-26 | 4 | -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 the | Zachary Ware | 2013-11-26 | 4 | -4/+54 |
| | | | | | | | | | | pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running. | ||||
* | | Merge with 3.3 | Zachary Ware | 2013-11-26 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Merge heads | Zachary Ware | 2013-11-26 | 4 | -2/+35 |
| |\ | |||||
* | \ | Merge heads | Zachary Ware | 2013-11-26 | 4 | -2/+35 |
|\ \ \ | |||||
| * \ \ | Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with | Serhiy Storchaka | 2013-11-26 | 4 | -2/+35 |
| |\ \ \ | | | |/ | | |/| | | | | | virtual interface. Original patch by Kent Frazier. | ||||
| | * | | Issue #11508: Fixed uuid.getnode() and uuid.uuid1() on environment with | Serhiy Storchaka | 2013-11-26 | 4 | -2/+35 |
| | | | | | | | | | | | | | | | | virtual interface. Original patch by Kent Frazier. | ||||
* | | | | Issue #19588: Merge with 3.3 | Zachary Ware | 2013-11-26 | 3 | -6/+13 |
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | |||||
| * | | Issue #19588: Fixed tests in test_random that were silently skipped most | Zachary Ware | 2013-11-26 | 3 | -6/+10 |
| |/ | | | | | | | of the time. Patch by Julian Gindi. | ||||
* | | Use @bigmemtest more accurately. | Mark Dickinson | 2013-11-26 | 1 | -3/+3 |
|\ \ | |/ | |||||
| * | Use @bigmemtest more accurately. | Mark Dickinson | 2013-11-26 | 1 | -3/+3 |
| | | |||||
* | | Issue #19793: Improved markup for True/False constants in pathlib documentation. | Serhiy Storchaka | 2013-11-26 | 1 | -28/+28 |
| | | |||||
* | | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 4 | -41/+73 |
|\ \ | |/ | |||||
| * | Issue #11489: JSON decoder now accepts lone surrogates. | Serhiy Storchaka | 2013-11-26 | 4 | -41/+73 |
| | | |||||
* | | Issue #19638: Merge from 3.3 | Mark Dickinson | 2013-11-26 | 3 | -12/+77 |
|\ \ | |/ | |||||
| * | Issue #19638: Raise ValueError instead of crashing when converting billion ↵ | Mark Dickinson | 2013-11-26 | 3 | -12/+77 |
| | | | | | | | | character strings to float. | ||||
* | | Issue #19794: Improved markup for True/False constants. | Serhiy Storchaka | 2013-11-26 | 1 | -13/+13 |
|\ \ | |/ | |||||
| * | Issue #19794: Improved markup for True/False constants. | Serhiy Storchaka | 2013-11-26 | 1 | -13/+13 |
| | | |||||
* | | Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests. | Serhiy Storchaka | 2013-11-26 | 4 | -8/+10 |
| | | | | | | | | Change stacklevel in warnings.warn() for 'SO' key to 2. | ||||
* | | tracemalloc: fix get_traced_memory() docstring for result type | Victor Stinner | 2013-11-26 | 1 | -1/+1 |
| | | |||||
* | | tracemalloc: Fix hash methods of Statistic and StatisticDiff | Victor Stinner | 2013-11-26 | 1 | -4/+3 |
| | | |||||
* | | merge with 3.3 | Georg Brandl | 2013-11-26 | 1 | -1/+0 |
|\ \ | |/ | |||||
| * | Markup fix. | Georg Brandl | 2013-11-26 | 1 | -1/+0 |
| | |