- 29 Nov, 2013 3 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Alexandre Vassalotti authored
-
- 28 Nov, 2013 10 commits
-
-
Alexandre Vassalotti authored
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.
-
Alexandre Vassalotti authored
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.
-
Eli Bendersky authored
-
Eli Bendersky authored
Based on patches by Christian Heimes and Vajrasky Kok
-
Eli Bendersky authored
-
Eli Bendersky authored
Based on patches by Christian Heimes and Vajrasky Kok
-
Christian Heimes authored
-
Christian Heimes authored
-
Zachary Ware authored
-
Alexandre Vassalotti authored
This implements PEP 3121 module finalization as well. This change does not cause any significant impact on performance.
-
- 27 Nov, 2013 14 commits
-
-
Ned Deily authored
-
Victor Stinner authored
-
Guido van Rossum authored
asyncio: Change write buffer use to avoid O(N**2). Make write()/sendto() accept bytearray/memoryview too. Change some asserts with proper exceptions.
-
Victor Stinner authored
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.
-
Victor Stinner authored
documentation. Use also the term "current" for the current size.
-
Guido van Rossum authored
-
Benjamin Peterson authored
Patch by Claudiu Popa.
-
Alexandre Vassalotti authored
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.
-
Serhiy Storchaka authored
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
-
Serhiy Storchaka authored
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 26 Nov, 2013 13 commits
-
-
Zachary Ware authored
pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running.
-
Zachary Ware authored
pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running.
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Zachary Ware authored
of the time. Patch by Julian Gindi.
-
Serhiy Storchaka authored
virtual interface. Original patch by Kent Frazier.
-
Serhiy Storchaka authored
virtual interface. Original patch by Kent Frazier.
-
Mark Dickinson authored
-
Mark Dickinson authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-