- 06 Jul, 2013 3 commits
-
-
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 13 commits
-
-
Victor Stinner authored
handler when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler.
-
Victor Stinner authored
when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler.
-
Christian Heimes authored
tstate is first removed from TLS and then deallocated. CID 1019639 (#1 of 1): Use after free (USE_AFTER_FREE) use_after_free: Using freed pointer tstate.
-
Christian Heimes authored
tstate is first removed from TLS and then deallocated. CID 1019639 (#1 of 1): Use after free (USE_AFTER_FREE) use_after_free: Using freed pointer tstate.
-
Christian Heimes authored
-
Christian Heimes authored
-
Richard Oudkerk authored
-
Richard Oudkerk authored
-
Łukasz Langa authored
-
Łukasz Langa authored
-
Christian Heimes authored
-
Christian Heimes authored
-
Christian Heimes authored
segfault inside the _pickle C extension.
-