- 30 Kas, 2013 13 kayıt (commit)
-
-
Vinay Sajip yazdı
-
Vinay Sajip yazdı
-
Alexandre Vassalotti yazdı
-
Alexandre Vassalotti yazdı
-
Serhiy Storchaka yazdı
-
Alexandre Vassalotti yazdı
-
Alexandre Vassalotti yazdı
This fix does not cause any degradation in performance.
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
-
Nick Coghlan yazdı
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)
-
Nick Coghlan yazdı
-
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 5 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.
-