- 30 Kas, 2013 2 kayıt (commit)
-
-
Alexandre Vassalotti yazdı
-
Zachary Ware yazdı
-
- 29 Kas, 2013 11 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Brett Cannon yazdı
that don't require changing test.test_importlib.util.mock_modules().
-
Charles-François Natali yazdı
-
Charles-François Natali yazdı
-
Guido van Rossum yazdı
-
Brett Cannon yazdı
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.
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
Alexandre Vassalotti yazdı
-
- 28 Kas, 2013 11 kayıt (commit)
-
-
Alexandre Vassalotti yazdı
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 yazdı
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 yazdı
-
Eli Bendersky yazdı
Based on patches by Christian Heimes and Vajrasky Kok
-
Eli Bendersky yazdı
-
Eli Bendersky yazdı
Based on patches by Christian Heimes and Vajrasky Kok
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Zachary Ware yazdı
-
Zachary Ware yazdı
-
Alexandre Vassalotti yazdı
This implements PEP 3121 module finalization as well. This change does not cause any significant impact on performance.
-
- 27 Kas, 2013 14 kayıt (commit)
-
-
Ned Deily yazdı
-
Victor Stinner yazdı
-
Guido van Rossum yazdı
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 yazdı
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 yazdı
documentation. Use also the term "current" for the current size.
-
Guido van Rossum yazdı
-
Benjamin Peterson yazdı
Patch by Claudiu Popa.
-
Alexandre Vassalotti yazdı
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 yazdı
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
-
Serhiy Storchaka yazdı
This test requires the ifconfig executable on $PATH, /sbin/, or /usr/sbin.
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 26 Kas, 2013 2 kayıt (commit)
-
-
Zachary Ware yazdı
pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running.
-
Zachary Ware yazdı
pythoncore sub-project. This should prevent build errors due a previous build's python(_d).exe still running.
-