- 06 Jul, 2013 15 commits
-
-
Brett Cannon authored
-
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 12 commits
-
-
Christian Heimes authored
-
Christian Heimes authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
ModuleNotFoundError.
-
Brett Cannon authored
-
Brett Cannon authored
-
Brett Cannon authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
Antoine Pitrou authored
-
- 03 Jul, 2013 4 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
-
Victor Stinner authored
AIX maps the first page of memory at address zero as valid, read-only. Reading NULL is not a fault on AIX. This is utilized by IBM compiler optimizations. One speculatively can indirect through a pointer which may be null without first testing if null and defer the test before using the value.
-
Victor Stinner authored
AIX maps the first page of memory at address zero as valid, read-only. Reading NULL is not a fault on AIX. This is utilized by IBM compiler optimizations. One speculatively can indirect through a pointer which may be null without first testing if null and defer the test before using the value.
-
- 02 Jul, 2013 8 commits
-
-
Eric V. Smith authored
-
Eric V. Smith authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
- 01 Jul, 2013 1 commit
-
-
Victor Stinner authored
handler when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler.
-