- 01 Dec, 2013 9 commits
-
-
Victor Stinner authored
tracemalloc in objects destructor Replace atexit handler with an harcoded C function _PyTraceMalloc_Fini().
-
Gregory P. Smith authored
causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4).
-
Gregory P. Smith authored
causing test_multiprocessing_forkserver and test_multiprocessing_spawn failures on head (3.4).
-
Gregory P. Smith authored
descriptor 0, 1 or 2 is closed.
-
Gregory P. Smith authored
descriptor 0, 1 or 2 is closed.
-
Alexandre Vassalotti authored
-
Alexandre Vassalotti authored
-
Alexandre Vassalotti authored
-
Alexandre Vassalotti authored
-
- 30 Nov, 2013 16 commits
-
-
Guido van Rossum authored
-
Zachary Ware authored
-
Zachary Ware authored
-
Vinay Sajip authored
-
Vinay Sajip authored
-
Alexandre Vassalotti authored
-
Alexandre Vassalotti authored
-
Serhiy Storchaka authored
-
Alexandre Vassalotti authored
-
Alexandre Vassalotti authored
This fix does not cause any degradation in performance.
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Nick Coghlan authored
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 authored
-
Alexandre Vassalotti authored
-
Zachary Ware authored
-
- 29 Nov, 2013 11 commits
-
-
Guido van Rossum authored
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
-
Brett Cannon authored
that don't require changing test.test_importlib.util.mock_modules().
-
Charles-François Natali authored
-
Charles-François Natali authored
-
Guido van Rossum authored
-
Brett Cannon authored
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 authored
-
Serhiy Storchaka authored
-
Alexandre Vassalotti authored
-
- 28 Nov, 2013 4 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
-