summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
Commit message (Collapse)AuthorAgeFilesLines
* Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
|
* Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | ModuleNotFoundError.
* Merge 3.3, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-2/+2
|\ | | | | | | 3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
| * Merge 3.2, issue #17047: remove doubled words found in 2.7 toTerry Jan Reedy2013-03-111-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 Reedy2013-03-111-2/+2
| | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett.
* | | modernize some modules' code by using with statement around open()Giampaolo Rodola'2013-02-121-6/+4
| | |
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-253-4/+4
| | |
* | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-183-5/+5
| | |
* | | add fixer for reload() -> imp.reload() (closes #11797)\n\nPatch by Laurie ↵Benjamin Peterson2012-12-084-18/+113
| | | | | | | | | | | | Clark-Michalek and Berker Peksag
* | | merge 3.3 (#16573)Benjamin Peterson2012-11-292-6/+18
|\ \ \ | |/ /
| * | merge 3.2 (#16573)Benjamin Peterson2012-11-292-6/+18
| |\ \ | | |/
| | * enumerate only requires an iterable (closes #16573)Benjamin Peterson2012-11-292-6/+18
| | | | | | | | | | | | Patch by Jonathan Kotta.
* | | Issue #16120: Use |yield from| in stdlib.Andrew Svetlov2012-10-062-10/+5
|/ / | | | | | | Patch by Berker Peksag.
* | merge 3.2Benjamin Peterson2012-09-252-3/+3
|\ \ | |/
| * switch assertion to an explicit ValueErrorBenjamin Peterson2012-09-252-3/+3
| |
| * Issue #15822: Fix installation of lib2to3 grammar pickles to ensureNed Deily2012-09-091-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 ensureNed Deily2012-09-091-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 Peterson2012-03-142-37/+0
| |
* | Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.Antoine Pitrou2012-02-271-3/+10
|\ \ | |/ | | | | Patch by Mikhail Novikov.
| * Issue #13125: Silence spurious test_lib2to3 output when in non-verbose mode.Antoine Pitrou2012-02-271-3/+10
| | | | | | | | Patch by Mikhail Novikov.
| * Fix use of deprecated assertRegexpMatches method.Georg Brandl2012-02-201-1/+1
| |
| * import re for the previous commit.Gregory P. Smith2012-02-141-0/+1
| |
* | re.escape os.sep so that \ is interpreted properly in the regex.Gregory P. Smith2012-02-141-2/+4
|\ \ | |/
| * re.escape os.sep so that \ is interpreted properly in the regex.Gregory P. Smith2012-02-141-2/+3
| |
* | Issue #13930: fix a / to use os.sep so that the test works on Windows.Gregory P. Smith2012-02-141-2/+4
|\ \ | |/
| * Issue #13930: fix a / to use os.sep so that the test works on Windows.Gregory P. Smith2012-02-141-2/+4
| |
* | lib2to3 tests: Don't use deprecated API, switch to assertRegex()Victor Stinner2012-02-132-2/+2
| |
* | fix whitespace normalization before pushing.Gregory P. Smith2012-02-121-5/+5
|\ \ | |/
| * fix whitespace normalization before pushing.Gregory P. Smith2012-02-121-5/+5
| |
* | Issue #13930: Adds ability for 2to3 to write its output to a differentGregory P. Smith2012-02-124-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 differentGregory P. Smith2012-02-124-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 Peterson2012-01-161-1/+1
|\ \ | |/
| * explain why we need this grammar file (closes #13766)Benjamin Peterson2012-01-161-1/+1
| |
* | - Re-enable lib2to3's test_parser.py tests, though with an expected failureBarry Warsaw2011-10-071-3/+1
|\ \ | |/ | | | | (see issue 13125).
| * - Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle filesBarry Warsaw2011-10-073-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 failureBarry Warsaw2011-10-071-9/+15
| | | | | | | | (see issue 13125).
* | #13012: use splitlines(keepends=True/False) instead of splitlines(0/1).Ezio Melotti2011-09-281-2/+2
| |
* | Merge fixes for #9860, #11104/#8688 and #12331 from 3.2Éric Araujo2011-07-311-7/+11
|\ \ | |/
| * Stop trying to write into the stdlib during lib2to3 tests (#12331).Éric Araujo2011-07-311-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 Sajip2011-07-131-3/+1
| |
* | #11565: Merge with 3.2.Ezio Melotti2011-03-165-7/+7
|\ \ | |/
| * #11565: Merge with 3.1.Ezio Melotti2011-03-165-7/+7
| |\
| | * #11565: Fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-165-7/+7
| | |
* | | merge 3.2Benjamin Peterson2011-03-083-16/+32
|\ \ \ | |/ /
| * | merge 3.1Benjamin Peterson2011-03-083-16/+32
| |\ \ | | |/
| | * transform izip_longest #11424Benjamin Peterson2011-03-083-16/+32
| | |
| * | merge 3.1Benjamin Peterson2011-03-071-4/+7
| |\ \ | | |/
* | | merge 3.1Benjamin Peterson2011-03-061-4/+7
|\ \ \ | | |/ | |/|
| * | only do this sys.stderr replacing on CPythonBenjamin Peterson2011-03-061-4/+7
| | |
| * | Merged revisions 87002 via svnmerge fromBenjamin Peterson2010-12-045-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r87002 | martin.v.loewis | 2010-12-03 17:11:07 -0600 (Fri, 03 Dec 2010) | 21 lines Merged revisions 85551,86156-86157,86464 via svnmerge from svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r85551 | benjamin.peterson | 2010-10-15 23:57:29 +0200 (Fr, 15 Okt 2010) | 1 line escape() is now in the html module ........ r86156 | georg.brandl | 2010-11-04 09:34:57 +0100 (Do, 04 Nov 2010) | 1 line Consistency fixes in option parser help texts. ........ r86157 | georg.brandl | 2010-11-04 09:35:30 +0100 (Do, 04 Nov 2010) | 1 line #10286: fix urllib class names. ........ r86464 | benjamin.peterson | 2010-11-14 16:28:52 +0100 (So, 14 Nov 2010) | 1 line match only .py files #10416 ........ ................