Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 2 | -0/+0 |
| | | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script. | ||||
* | Issue #18960: Fix bugs with Python source code encoding in the second line. | Serhiy Storchaka | 2014-01-09 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | * The first line of Python script could be executed twice when the source encoding (not equal to 'utf-8') was specified on the second line. * Now the source encoding declaration on the second line isn't effective if the first line contains anything except a comment. * As a consequence, 'python -x' works now again with files with the source encoding declarations specified on the second file, and can be used again to make Python batch files on Windows. * The tokenize module now ignore the source encoding declaration on the second line if the first line contains anything except a comment. * IDLE now ignores the source encoding declaration on the second line if the first line contains anything except a comment. * 2to3 and the findnocoding.py script now ignore the source encoding declaration on the second line if the first line contains anything except a comment. | ||||
* | #19943: fix typo noticed by Jakub Wilk. | Ezio Melotti | 2013-12-10 | 1 | -1/+1 |
| | |||||
* | #19620: Fix typo in docstring (noticed by Christopher Welborn). | Ezio Melotti | 2013-11-25 | 1 | -2/+2 |
| | |||||
* | Issue #19592: Use specific asserts in lib2to3 tests. | Serhiy Storchaka | 2013-11-14 | 5 | -17/+17 |
| | |||||
* | Issue #18037: Do not escape '\u' and '\U' in raw strings. | Serhiy Storchaka | 2013-10-08 | 2 | -3/+2 |
| | |||||
* | Issue #18037: 2to3 now escapes '\u' and '\U' in native strings. | Serhiy Storchaka | 2013-10-03 | 2 | -7/+62 |
| | |||||
* | fix duplicate test names (closes #19115) | Benjamin Peterson | 2013-09-28 | 1 | -5/+5 |
| | | | | Patch by Xavier de Gaye. | ||||
* | Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script | Serhiy Storchaka | 2013-09-16 | 3 | -5/+10 |
| | | | | now detect Python source code encoding only in comment lines. | ||||
* | #18741: fix more typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 3 | -4/+4 |
| | |||||
* | Merge 3.2, issue #17047: remove doubled words found in 2.7 to | Terry Jan Reedy | 2013-03-11 | 1 | -2/+2 |
|\ | | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*, | Terry Jan Reedy | 2013-03-11 | 1 | -2/+2 |
| | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
* | | merge 3.2 (#16573) | Benjamin Peterson | 2012-11-29 | 2 | -6/+18 |
|\ \ | |/ | |||||
| * | enumerate only requires an iterable (closes #16573) | Benjamin Peterson | 2012-11-29 | 2 | -6/+18 |
| | | | | | | | | Patch by Jonathan Kotta. | ||||
* | | merge 3.2 | Benjamin Peterson | 2012-09-25 | 2 | -3/+3 |
|\ \ | |/ | |||||
| * | switch assertion to an explicit ValueError | Benjamin Peterson | 2012-09-25 | 2 | -3/+3 |
| | | |||||
| * | Issue #15822: Fix installation of lib2to3 grammar pickles to ensure | Ned Deily | 2012-09-09 | 1 | -0/+17 |
| | | | | | | | | | | they are created in the install locations and with the proper timestamp. (Solution suggested by MvL) | ||||
* | | Issue #15822: Fix installation of lib2to3 grammar pickles to ensure | Ned Deily | 2012-09-09 | 1 | -0/+17 |
| | | | | | | | | | | they are created in the install locations and with the proper timestamp. (Solution suggested by MvL) | ||||
* | | remove get_prefix and set_prefix (#13248) | Benjamin Peterson | 2012-03-14 | 2 | -37/+0 |
| | | |||||
* | | Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode. | Antoine Pitrou | 2012-02-27 | 1 | -3/+10 |
|\ \ | |/ | | | | | Patch by Mikhail Novikov. | ||||
| * | Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode. | Antoine Pitrou | 2012-02-27 | 1 | -3/+10 |
| | | | | | | | | Patch by Mikhail Novikov. | ||||
| * | Fix use of deprecated assertRegexpMatches method. | Georg Brandl | 2012-02-20 | 1 | -1/+1 |
| | | |||||
| * | import re for the previous commit. | Gregory P. Smith | 2012-02-14 | 1 | -0/+1 |
| | | |||||
* | | re.escape os.sep so that \ is interpreted properly in the regex. | Gregory P. Smith | 2012-02-14 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | re.escape os.sep so that \ is interpreted properly in the regex. | Gregory P. Smith | 2012-02-14 | 1 | -2/+3 |
| | | |||||
* | | Issue #13930: fix a / to use os.sep so that the test works on Windows. | Gregory P. Smith | 2012-02-14 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #13930: fix a / to use os.sep so that the test works on Windows. | Gregory P. Smith | 2012-02-14 | 1 | -2/+4 |
| | | |||||
* | | lib2to3 tests: Don't use deprecated API, switch to assertRegex() | Victor Stinner | 2012-02-13 | 2 | -2/+2 |
| | | |||||
* | | fix whitespace normalization before pushing. | Gregory P. Smith | 2012-02-12 | 1 | -5/+5 |
|\ \ | |/ | |||||
| * | fix whitespace normalization before pushing. | Gregory P. Smith | 2012-02-12 | 1 | -5/+5 |
| | | |||||
* | | Issue #13930: Adds ability for 2to3 to write its output to a different | Gregory P. Smith | 2012-02-12 | 4 | -14/+233 |
|\ \ | |/ | | | | | | | directory tree instead of overwriting the input files. Adds three command line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix. | ||||
| * | Issue #13930: Adds ability for 2to3 to write its output to a different | Gregory P. Smith | 2012-02-12 | 4 | -14/+233 |
| | | | | | | | | | | | | | | | | | | directory tree instead of overwriting the input files. Adds three command line options: -o/--output-dir, -W/--write-unchanged-files and --add-suffix. Feature backports into stable release branches for 2to3 are allowed by a special exemption: http://mail.python.org/pipermail/python-dev/2011-December/115089.html | ||||
* | | merge 3.2 (#13766) | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | explain why we need this grammar file (closes #13766) | Benjamin Peterson | 2012-01-16 | 1 | -1/+1 |
| | | |||||
* | | - Re-enable lib2to3's test_parser.py tests, though with an expected failure | Barry Warsaw | 2011-10-07 | 1 | -3/+1 |
|\ \ | |/ | | | | | (see issue 13125). | ||||
| * | - Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle files | Barry Warsaw | 2011-10-07 | 3 | -22/+30 |
| | | | | | | | | | | | | | | | | with line feeds. This was ported from the sandbox to the 3.3 branch, but didn't make it into 3.2. - Re-enable lib2to3's test_parser.py tests, though with an expected failure (see issue 13125). | ||||
* | | - Re-enable lib2to3's test_parser.py tests, though with an expected failure | Barry Warsaw | 2011-10-07 | 1 | -9/+15 |
| | | | | | | | | (see issue 13125). | ||||
* | | #13012: use splitlines(keepends=True/False) instead of splitlines(0/1). | Ezio Melotti | 2011-09-28 | 1 | -2/+2 |
| | | |||||
* | | Merge fixes for #9860, #11104/#8688 and #12331 from 3.2 | Éric Araujo | 2011-07-31 | 1 | -7/+11 |
|\ \ | |/ | |||||
| * | Stop trying to write into the stdlib during lib2to3 tests (#12331). | Éric Araujo | 2011-07-31 | 1 | -7/+11 |
| | | | | | | | | | | This prevents tests from failing when run from a Python installed in a read-only directory. | ||||
* | | Closes #12536: Unused logger removed from lib2to3. | Vinay Sajip | 2011-07-13 | 1 | -3/+1 |
| | | |||||
* | | #11565: Merge with 3.2. | Ezio Melotti | 2011-03-16 | 5 | -7/+7 |
|\ \ | |/ | |||||
| * | #11565: Merge with 3.1. | Ezio Melotti | 2011-03-16 | 5 | -7/+7 |
| |\ | |||||
| | * | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 5 | -7/+7 |
| | | | |||||
* | | | merge 3.2 | Benjamin Peterson | 2011-03-08 | 3 | -16/+32 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-03-08 | 3 | -16/+32 |
| |\ \ | | |/ | |||||
| | * | transform izip_longest #11424 | Benjamin Peterson | 2011-03-08 | 3 | -16/+32 |
| | | | |||||
| * | | merge 3.1 | Benjamin Peterson | 2011-03-07 | 1 | -4/+7 |
| |\ \ | | |/ | |||||
* | | | merge 3.1 | Benjamin Peterson | 2011-03-06 | 1 | -4/+7 |
|\ \ \ | | |/ | |/| | |||||
| * | | only do this sys.stderr replacing on CPython | Benjamin Peterson | 2011-03-06 | 1 | -4/+7 |
| | | |