Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | merge for issue #18351. | Brett Cannon | 2013-07-06 | 5 | -807/+843 |
|\ | |||||
| * | Issue #18351: Fix various issues with | Brett Cannon | 2013-07-06 | 5 | -3376/+3415 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Remove unnecessary branches from count() and reverse(). | Raymond Hettinger | 2013-07-06 | 1 | -6/+3 |
| | | |||||
* | | Issue #18364: Stop using the ImportError._not_found hack. | Brett Cannon | 2013-07-06 | 2 | -3556/+3551 |
| | | | | | | | | | | | | 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. | ||||
* | | #18380: merge with 3.3. | Ezio Melotti | 2013-07-06 | 3 | -1/+6 |
|\ \ | |/ | |||||
| * | #18380: pass regex flags to the right argument. Patch by Valentina ↵ | Ezio Melotti | 2013-07-06 | 3 | -1/+6 |
| | | | | | | | | Mukhamedzhanova. | ||||
* | | test_ftplib: silence a BytesWarning when checking TypeError | Florent Xicluna | 2013-07-06 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | test_ftplib: silence a BytesWarning when checking TypeError | Florent Xicluna | 2013-07-06 | 1 | -1/+2 |
| | | |||||
* | | (3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch ↵ | Ronald Oussoren | 2013-07-06 | 2 | -1/+7 |
|\ \ | |/ | | | | | python scripts that have paths that include wide characters. | ||||
| * | Issue #12990: The "Python Launcher" on OSX could not launch python scripts ↵ | Ronald Oussoren | 2013-07-06 | 2 | -1/+4 |
| | | | | | | | | that have paths that include wide characters. | ||||
* | | Issue #18375: merge with 3.3 | Florent Xicluna | 2013-07-06 | 2 | -0/+4 |
|\ \ | |/ | |||||
| * | Issue #18375: Assume --randomize when --randseed is used for running the ↵ | Florent Xicluna | 2013-07-06 | 2 | -0/+4 |
| | | | | | | | | testsuite. | ||||
* | | (3.3->default) Issue #17860: explicitly mention that std* streams are opened ↵ | Ronald Oussoren | 2013-07-06 | 1 | -2/+4 |
|\ \ | |/ | | | | | | | | | | | | | | | 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. | ||||
| * | Issue #17860: explicitly mention that std* streams are opened in binary mode ↵ | Ronald Oussoren | 2013-07-06 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Speed-up deque indexing by changing the deque block length to a power of two. | Raymond Hettinger | 2013-07-06 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
* | | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 3 | -3/+13 |
|\ \ | |/ | | | | | closing tags. | ||||
| * | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 3 | -3/+13 |
| | | | | | | | | closing tags. | ||||
* | | Issue #15767: Excise the remaining instances of ModuleNotFoundError | Brett Cannon | 2013-07-04 | 8 | -27/+27 |
| | | |||||
* | | Remove dead code in test_exceptions. | Brett Cannon | 2013-07-04 | 1 | -3/+0 |
| | | |||||
* | | Move test_import over to unittest.main(). | Brett Cannon | 2013-07-04 | 1 | -14/+2 |
| | | |||||
* | | Issue #15767: back out 8a0ed9f63c6e, finishing the removal of | Brett Cannon | 2013-07-04 | 17 | -427/+412 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError | Brett Cannon | 2013-07-04 | 10 | -842/+807 |
| | | |||||
* | | Issue #15767: Back out 8d28d44f3a9a related to ModuleNotFoundError. | Brett Cannon | 2013-07-04 | 1 | -7/+0 |
| | | |||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 83 | -144/+158 |
| | | |||||
* | | Consolidate tests section. | Antoine Pitrou | 2013-07-04 | 1 | -5/+2 |
| | | |||||
* | | Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé. | Antoine Pitrou | 2013-07-04 | 2 | -2/+9 |
|\ \ | |/ | |||||
| * | Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé. | Antoine Pitrou | 2013-07-04 | 2 | -1/+9 |
| | | |||||
* | | (Merge 3.3) test_time.test_monotonic(): use a longer sleep to try to make ↵ | Victor Stinner | 2013-07-03 | 1 | -2/+2 |
|\ \ | |/ | | | | | the test more reliable | ||||
| * | test_time.test_monotonic(): use a longer sleep to try to make the test more ↵ | Victor Stinner | 2013-07-03 | 1 | -2/+2 |
| | | | | | | | | reliable | ||||
* | | (Merge 3.3) test_faulthandler: skip test_read_null() on AIX | Victor Stinner | 2013-07-03 | 1 | -0/+2 |
|\ \ | |/ | | | | | | | | | | | 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. | ||||
| * | test_faulthandler: skip test_read_null() on AIX | Victor Stinner | 2013-07-03 | 1 | -0/+2 |
| | | | | | | | | | | | | | | 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. | ||||
* | | #18312: merge from 3.3. | Eric V. Smith | 2013-07-02 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | Closes #18312: 'make distclean' no longer deletes files in dot-directories. | Eric V. Smith | 2013-07-02 | 1 | -5/+5 |
| | | |||||
* | | Issue #17261: Ensure multiprocessing's proxies use proper address. | Richard Oudkerk | 2013-07-02 | 2 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue #17261: Ensure multiprocessing's proxies use proper address. | Richard Oudkerk | 2013-07-02 | 2 | -0/+3 |
| | | |||||
* | | Issue #14206: Clarify docs for Queue.join_cancel_thread(). | Richard Oudkerk | 2013-07-02 | 1 | -0/+7 |
|\ \ | |/ | |||||
| * | Issue #14206: Clarify docs for Queue.join_cancel_thread(). | Richard Oudkerk | 2013-07-02 | 1 | -0/+7 |
| | | |||||
* | | Issue #17273: Clarify that pool methods can only be used by parent process. | Richard Oudkerk | 2013-07-02 | 1 | -0/+6 |
|\ \ | |/ | |||||
| * | Issue #17273: Clarify that pool methods can only be used by parent process. | Richard Oudkerk | 2013-07-02 | 1 | -0/+6 |
| | | |||||
* | | (Merge 3.3) Issue #18343: faulthandler.register() now keeps the previous signal | Victor Stinner | 2013-07-01 | 2 | -1/+6 |
|\ \ | |/ | | | | | | | handler when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler. | ||||
| * | Issue #18343: faulthandler.register() now keeps the previous signal handler | Victor Stinner | 2013-07-01 | 2 | -1/+6 |
| | | | | | | | | | | when the function is called twice, so faulthandler.unregister() restores correctly the original signal handler. | ||||
* | | Issue #18328: Reorder ops in PyThreadState_Delete*() functions. Now the | Christian Heimes | 2013-07-01 | 2 | -2/+5 |
|\ \ | |/ | | | | | | | | | 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. | ||||
| * | Issue #18328: Reorder ops in PyThreadState_Delete*() functions. Now the | Christian Heimes | 2013-07-01 | 2 | -2/+5 |
| | | | | | | | | | | | | 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. | ||||
* | | Issue #18339: use with self.assertRaises() to make test case more readable | Christian Heimes | 2013-07-01 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #18339: use with self.assertRaises() to make test case more readable | Christian Heimes | 2013-07-01 | 1 | -2/+4 |
| | | |||||
* | | Issue #17097: Merge. | Richard Oudkerk | 2013-07-01 | 3 | -4/+86 |
|\ \ | |/ | |||||
| * | Issue #17097: Make multiprocessing ignore EINTR. | Richard Oudkerk | 2013-07-01 | 3 | -4/+86 |
| | | |||||
* | | Merge with current default | Łukasz Langa | 2013-07-01 | 3 | -0/+15 |
|\ \ | |||||
| * \ | Singular form just like the other error message. | Christian Heimes | 2013-07-01 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | Singular form just like the other error message. | Christian Heimes | 2013-07-01 | 1 | -1/+1 |
| | | |