- 07 Jul, 2013 15 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Ezio Melotti authored
-
Ronald Oussoren authored
This changeset fixes a number of compiler warnings in the Python Launcher binary for OSX. It also cleans up whitespace usage in those sources.
-
Ronald Oussoren authored
This changeset fixes a number of compiler warnings in the Python Launcher binary for OSX. It also cleans up whitespace usage in those sources.
-
Ronald Oussoren authored
Reformulated the textual change, and applied it to the docstring as well.
-
Ronald Oussoren authored
Reformulated the textual change, and applied it to the docstring as well.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Victor Stinner authored
According to VirtualFree() documentation, the size must be zero if the "free type" is MEM_RELEASE.
-
Victor Stinner authored
a stack overflow in the marshal module (fix a crash in test_marshal). Patch written by Jeremy Kloth.
-
Victor Stinner authored
Add new enum: * PyMemAllocatorDomain Add new structures: * PyMemAllocator * PyObjectArenaAllocator Add new functions: * PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree() * PyMem_GetAllocator(), PyMem_SetAllocator() * PyObject_GetArenaAllocator(), PyObject_SetArenaAllocator() * PyMem_SetupDebugHooks() Changes: * PyMem_Malloc()/PyObject_Realloc() now always call malloc()/realloc(), instead of calling PyObject_Malloc()/PyObject_Realloc() in debug mode. * PyObject_Malloc()/PyObject_Realloc() now falls back to PyMem_Malloc()/PyMem_Realloc() for allocations larger than 512 bytes. * Redesign debug checks on memory block allocators as hooks, instead of using C macros
-
- 06 Jul, 2013 18 commits
-
-
Raymond Hettinger authored
to be consistent with practices in other modules.
-
Brett Cannon authored
-
Brett Cannon authored
-
Raymond Hettinger authored
Hoist conditional expression out of the loop. Use rightblock as the guard instead of checking for NULL.
-
Brett Cannon authored
importlib._bootstrap._get_sourcefile(). Thanks to its only use by the C API, it was never properly tested until now. Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
-
Raymond Hettinger authored
-
Brett Cannon authored
The private attribute was leaking out of importlib and led to at least one person noticing it. Switch to another hack which won't leak outside of importlib and is nearly as robust.
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Ronald Oussoren authored
(3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
-
Ronald Oussoren authored
Issue #12990: The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
-
Florent Xicluna authored
-
Florent Xicluna authored
-
Ronald Oussoren authored
(3.3->default) Issue #17860: explicitly mention that std* streams are opened in binary mode by default. The documentation does mention that the streams are opened in text mode when univeral_newlines is true, but not that that they are opened in binary mode when that argument is false and that seems to confuse at least some users.
-
Ronald Oussoren authored
The documentation does mention that the streams are opened in text mode when univeral_newlines is true, but not that that they are opened in binary mode when that argument is false and that seems to confuse at least some users.
-
Raymond Hettinger authored
The division and modulo calculation in deque_item() can be compiled to fast bitwise operations when the BLOCKLEN is a power of two. Timing before: ~/cpython $ py -m timeit -r7 -s 'from collections import deque' -s 'd=deque(range(10))' 'd[5]' 10000000 loops, best of 7: 0.0627 usec per loop Timing after: ~/cpython $ py -m timeit -r7 -s 'from collections import deque' -s 'd=deque(range(10))' 'd[5]' 10000000 loops, best of 7: 0.0581 usec per loop
-
- 04 Jul, 2013 7 commits
-
-
Christian Heimes authored
-
Christian Heimes authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
ModuleNotFoundError.
-
Brett Cannon authored
-