summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merge for issue #18351.Brett Cannon2013-07-065-807/+843
|\
| * Issue #18351: Fix various issues withBrett Cannon2013-07-065-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 Hettinger2013-07-061-6/+3
| |
* | Issue #18364: Stop using the ImportError._not_found hack.Brett Cannon2013-07-062-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 Melotti2013-07-063-1/+6
|\ \ | |/
| * #18380: pass regex flags to the right argument. Patch by Valentina ↵Ezio Melotti2013-07-063-1/+6
| | | | | | | | Mukhamedzhanova.
* | test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
|\ \ | |/
| * test_ftplib: silence a BytesWarning when checking TypeErrorFlorent Xicluna2013-07-061-1/+2
| |
* | (3.3->default) Issue #12990: The "Python Launcher" on OSX could not launch ↵Ronald Oussoren2013-07-062-1/+7
|\ \ | |/ | | | | python scripts that have paths that include wide characters.
| * Issue #12990: The "Python Launcher" on OSX could not launch python scripts ↵Ronald Oussoren2013-07-062-1/+4
| | | | | | | | that have paths that include wide characters.
* | Issue #18375: merge with 3.3Florent Xicluna2013-07-062-0/+4
|\ \ | |/
| * Issue #18375: Assume --randomize when --randseed is used for running the ↵Florent Xicluna2013-07-062-0/+4
| | | | | | | | testsuite.
* | (3.3->default) Issue #17860: explicitly mention that std* streams are opened ↵Ronald Oussoren2013-07-061-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 Oussoren2013-07-061-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 Hettinger2013-07-062-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 Heimes2013-07-043-3/+13
|\ \ | |/ | | | | closing tags.
| * Issue #18347: ElementTree's html serializer now preserves the case of ↵Christian Heimes2013-07-043-3/+13
| | | | | | | | closing tags.
* | Issue #15767: Excise the remaining instances of ModuleNotFoundErrorBrett Cannon2013-07-048-27/+27
| |
* | Remove dead code in test_exceptions.Brett Cannon2013-07-041-3/+0
| |
* | Move test_import over to unittest.main().Brett Cannon2013-07-041-14/+2
| |
* | Issue #15767: back out 8a0ed9f63c6e, finishing the removal ofBrett Cannon2013-07-0417-427/+412
| | | | | | | | ModuleNotFoundError.
* | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundErrorBrett Cannon2013-07-0410-842/+807
| |
* | Issue #15767: Back out 8d28d44f3a9a related to ModuleNotFoundError.Brett Cannon2013-07-041-7/+0
| |
* | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-0483-144/+158
| |
* | Consolidate tests section.Antoine Pitrou2013-07-041-5/+2
| |
* | Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.Antoine Pitrou2013-07-042-2/+9
|\ \ | |/
| * Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé.Antoine Pitrou2013-07-042-1/+9
| |
* | (Merge 3.3) test_time.test_monotonic(): use a longer sleep to try to make ↵Victor Stinner2013-07-031-2/+2
|\ \ | |/ | | | | the test more reliable
| * test_time.test_monotonic(): use a longer sleep to try to make the test more ↵Victor Stinner2013-07-031-2/+2
| | | | | | | | reliable
* | (Merge 3.3) test_faulthandler: skip test_read_null() on AIXVictor Stinner2013-07-031-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 AIXVictor Stinner2013-07-031-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. Smith2013-07-021-5/+5
|\ \ | |/
| * Closes #18312: 'make distclean' no longer deletes files in dot-directories.Eric V. Smith2013-07-021-5/+5
| |
* | Issue #17261: Ensure multiprocessing's proxies use proper address.Richard Oudkerk2013-07-022-0/+3
|\ \ | |/
| * Issue #17261: Ensure multiprocessing's proxies use proper address.Richard Oudkerk2013-07-022-0/+3
| |
* | Issue #14206: Clarify docs for Queue.join_cancel_thread().Richard Oudkerk2013-07-021-0/+7
|\ \ | |/
| * Issue #14206: Clarify docs for Queue.join_cancel_thread().Richard Oudkerk2013-07-021-0/+7
| |
* | Issue #17273: Clarify that pool methods can only be used by parent process.Richard Oudkerk2013-07-021-0/+6
|\ \ | |/
| * Issue #17273: Clarify that pool methods can only be used by parent process.Richard Oudkerk2013-07-021-0/+6
| |
* | (Merge 3.3) Issue #18343: faulthandler.register() now keeps the previous signalVictor Stinner2013-07-012-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 handlerVictor Stinner2013-07-012-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 theChristian Heimes2013-07-012-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 theChristian Heimes2013-07-012-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 readableChristian Heimes2013-07-011-2/+4
|\ \ | |/
| * Issue #18339: use with self.assertRaises() to make test case more readableChristian Heimes2013-07-011-2/+4
| |
* | Issue #17097: Merge.Richard Oudkerk2013-07-013-4/+86
|\ \ | |/
| * Issue #17097: Make multiprocessing ignore EINTR.Richard Oudkerk2013-07-013-4/+86
| |
* | Merge with current defaultŁukasz Langa2013-07-013-0/+15
|\ \
| * \ Singular form just like the other error message.Christian Heimes2013-07-011-1/+1
| |\ \ | | |/
| | * Singular form just like the other error message.Christian Heimes2013-07-011-1/+1
| | |