Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Closes #18435: Merged fix from 3.3. | Vinay Sajip | 2013-07-12 | 1 | -7/+2 |
|\ | |||||
| * | Issue #18435: Replaced simple attribute container class Context with ↵ | Vinay Sajip | 2013-07-12 | 1 | -7/+2 |
| | | | | | | | | types.SimpleNamespace. | ||||
* | | Issue #18342: Use the repr of a module name for ``from ... import | Brett Cannon | 2013-07-12 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | ...`` when an ImportError occurs. Other cases had already been switched over to using the repr. Thanks to Tomasz Maćkowiak for the patch. | ||||
* | | Issue #18415: Normalize what type of quotes are used with string | Brett Cannon | 2013-07-12 | 1 | -30/+30 |
| | | | | | | | | | | | | | | constants in importlib._bootstrap. Along the way clean up from string interpolation to use the repr explicitly. Initial patch by Madison May. | ||||
* | | Merge: #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= | R David Murray | 2013-07-11 | 4 | -40/+58 |
|\ \ | |/ | |||||
| * | #18044: Fix parsing of encoded words of the form =?utf8?q?=XX...?= | R David Murray | 2013-07-11 | 4 | -40/+58 |
| | | | | | | | | | | | | | | | | | | | | The problem was I was only checking for decimal digits after the third '?', not for *hex* digits :(. This changeset also fixes a couple of comment typos, deletes an unused function relating to encoded word parsing, and removed an invalid 'if' test from the folding function that was revealed by the tests written to validate this issue. | ||||
* | | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -0/+12 |
|\ \ | |/ | | | | | more bytes than requested. | ||||
| * | Issue #17872: Fix a segfault in marshal.load() when input stream returns | Serhiy Storchaka | 2013-07-11 | 1 | -0/+12 |
| | | | | | | | | more bytes than requested. | ||||
* | | Issue #18101: Tcl.split() now process strings nested in a tuple as it | Serhiy Storchaka | 2013-07-11 | 1 | -0/+60 |
|\ \ | |/ | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline(). | ||||
| * | Issue #18101: Tcl.split() now process strings nested in a tuple as it | Serhiy Storchaka | 2013-07-11 | 1 | -0/+60 |
| | | | | | | | | | | | | do with byte strings. Added tests for Tcl.split() and Tcl.splitline(). | ||||
* | | Issue #18338: `python --version` now prints version string to stdout, and | Serhiy Storchaka | 2013-07-11 | 1 | -2/+4 |
| | | | | | | | | not to stderr. Patch by Berker Peksag and Michael Dickens. | ||||
* | | Merge #17987: properly document support.captured_xxx. | R David Murray | 2013-07-11 | 2 | -9/+27 |
|\ \ | |/ | |||||
| * | #17987: properly document support.captured_xxx. | R David Murray | 2013-07-11 | 2 | -9/+27 |
| | | | | | | | | Patch by Dmi Baranov. | ||||
* | | #18116: getpass no longer always falls back to stdin. | R David Murray | 2013-07-10 | 2 | -52/+66 |
| | | | | | | | | | | | | | | | | Also fixes a resource warning that occurred when the fallback is taken. Patch by Serhiy Storchaka. (We couldn't figure out how to write tests for this.) | ||||
* | | Issue #18308: don't take the scope ID into account when comparing IPv6 | Charles-François Natali | 2013-07-09 | 1 | -1/+5 |
|\ \ | |/ | | | | | addresses. | ||||
| * | Issue #18308: don't take the scope ID into account when comparing IPv6 | Charles-François Natali | 2013-07-09 | 1 | -1/+5 |
| | | | | | | | | addresses. | ||||
* | | Add a spacing saving heuristic to deque's extend methods | Raymond Hettinger | 2013-07-09 | 1 | -2/+2 |
| | | |||||
* | | Merge str.center tests from 3.3. | Ezio Melotti | 2013-07-08 | 1 | -0/+9 |
|\ \ | |/ | |||||
| * | Add a couple of tests for str.center with non-ASCII chars. | Ezio Melotti | 2013-07-08 | 1 | -0/+9 |
| | | |||||
* | | #18106: refactor tests to use subtests and proper assert methods. Patch by ↵ | Ezio Melotti | 2013-07-07 | 1 | -35/+42 |
| | | | | | | | | Vajrasky Kok. | ||||
* | | #17198: merge with 3.3. | Ezio Melotti | 2013-07-07 | 2 | -2/+21 |
|\ \ | |/ | |||||
| * | #17198: Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova. | Ezio Melotti | 2013-07-07 | 2 | -2/+21 |
| | | |||||
* | | Merge #18013: Fix cgi.FieldStorage to parse the W3C sample form. | Florent Xicluna | 2013-07-07 | 2 | -1/+47 |
|\ \ | |/ | |||||
| * | Issue #18013: Fix cgi.FieldStorage to parse the W3C sample form. | Florent Xicluna | 2013-07-07 | 2 | -1/+47 |
| | | |||||
* | | #18020: improve html.escape speed by an order of magnitude. Patch by Matt ↵ | Ezio Melotti | 2013-07-07 | 1 | -7/+6 |
| | | | | | | | | Bryant. | ||||
* | | (3.3->default) Cleanup of documentation change from #17860 | Ronald Oussoren | 2013-07-07 | 1 | -0/+3 |
|\ \ | |/ | | | | | Reformulated the textual change, and applied it to the docstring as well. | ||||
| * | Cleanup of documentation change from #17860 | Ronald Oussoren | 2013-07-07 | 1 | -0/+3 |
| | | | | | | | | Reformulated the textual change, and applied it to the docstring as well. | ||||
* | | merge for issue #18351. | Brett Cannon | 2013-07-06 | 2 | -6/+40 |
|\ \ | |/ | |||||
| * | Issue #18351: Fix various issues with | Brett Cannon | 2013-07-06 | 2 | -7/+41 |
| | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Issue #18364: Stop using the ImportError._not_found hack. | Brett Cannon | 2013-07-06 | 1 | -9/+4 |
| | | | | | | | | | | | | 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 | 2 | -1/+5 |
|\ \ | |/ | |||||
| * | #18380: pass regex flags to the right argument. Patch by Valentina ↵ | Ezio Melotti | 2013-07-06 | 2 | -1/+5 |
| | | | | | | | | 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 |
| | | |||||
* | | Issue #18375: merge with 3.3 | Florent Xicluna | 2013-07-06 | 1 | -0/+1 |
|\ \ | |/ | |||||
| * | Issue #18375: Assume --randomize when --randseed is used for running the ↵ | Florent Xicluna | 2013-07-06 | 1 | -0/+1 |
| | | | | | | | | testsuite. | ||||
* | | Speed-up deque indexing by changing the deque block length to a power of two. | Raymond Hettinger | 2013-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -3/+10 |
|\ \ | |/ | | | | | closing tags. | ||||
| * | Issue #18347: ElementTree's html serializer now preserves the case of ↵ | Christian Heimes | 2013-07-04 | 2 | -3/+10 |
| | | | | | | | | 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 | 9 | -27/+35 |
| | | | | | | | | ModuleNotFoundError. | ||||
* | | Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError | Brett Cannon | 2013-07-04 | 1 | -1/+1 |
| | | |||||
* | | 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 |
| | | |||||
* | | Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé. | Antoine Pitrou | 2013-07-04 | 1 | -1/+7 |
|\ \ | |/ | |||||
| * | Issue #11185: Fix test_wait4 under AIX. Patch by Sébastien Sablé. | Antoine Pitrou | 2013-07-04 | 1 | -1/+7 |
| | | |||||
* | | (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 |