summaryrefslogtreecommitdiff
path: root/Lib/lib2to3/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused imports.Serhiy Storchaka2016-12-161-1/+0
|
* Issue #25969: Update the lib2to3 grammar to handle the unpackingGregory P. Smith2016-09-092-0/+39
|\ | | | | | | generalizations added in 3.5.
| * Issue #25969: Update the lib2to3 grammar to handle the unpackingGregory P. Smith2016-09-092-0/+39
| | | | | | | | generalizations added in 3.5.
| * remove fix_callable - callable() was readded many releases ago.Gregory P. Smith2016-09-091-92/+0
| |
* | Remove 2to3's fix_callable... We reintroduced the callable built-inGregory P. Smith2016-09-091-92/+0
| | | | | | | | pretty early on in the 3.x series (3.1 or 3.2?).
* | issue27985 - fix the incorrect duplicate class name in the lib2to3Gregory P. Smith2016-09-091-1/+1
| | | | | | | | test. call it TestVarAnnotations instead.
* | Issue #28008: Implement PEP 530 -- asynchronous comprehensions.Yury Selivanov2016-09-091-0/+18
| |
* | Issue #27985: Implement PEP 526 -- Syntax for Variable Annotations.Yury Selivanov2016-09-081-0/+30
| | | | | | | | Patch by Ivan Levkivskyi.
* | Remove legacy "from __future__ import with_statement" lines.Gregory P. Smith2016-09-083-6/+0
| |
* | lib2to3.pgen3.driver.load_grammar() now creates a stable cache fileGregory P. Smith2016-09-082-4/+73
|\ \ | |/ | | | | | | between runs given the same Grammar.txt input regardless of the hash randomization setting.
| * lib2to3.pgen3.driver.load_grammar() now creates a stable cache fileGregory P. Smith2016-09-082-6/+72
| | | | | | | | | | between runs given the same Grammar.txt input regardless of the hash randomization setting.
* | Issue #27095: Simplified MAKE_FUNCTION and removed MAKE_CLOSURE opcodes.Serhiy Storchaka2016-06-121-1/+1
| | | | | | | | Patch by Demur Rumed.
* | Issue #27030: Merge RE fix from 3.5Martin Panter2016-06-127-17/+6
|\ \ | |/ |/|
| * Merge with 3.5Terry Jan Reedy2016-05-061-2/+2
| |\
| * | Remove more unused imports in tests.Serhiy Storchaka2016-04-251-2/+0
| | |
| * | Issue #23277: Remove unused imports in tests.Serhiy Storchaka2016-04-245-10/+2
| | |
| * | Issue #23277: Remove more unused sys and os imports.Serhiy Storchaka2016-04-243-5/+0
| | |
| * | Merge 3.5 (Issue #24619)Yury Selivanov2015-07-231-0/+4
| |\ \
| | * | Issue #13938: 2to3 converts StringTypes to a tuple. Patch from Mark Hammond.Robert Collins2015-07-231-0/+4
| | | |
* | | | Fix buggy RE ?\parrot_example.py?, uncovered by Issue #27030Martin Panter2016-06-121-2/+3
| |_|/ |/| |
* | | Issue 26911: fix import (other problems remain).Terry Jan Reedy2016-05-061-2/+2
|/ /
* | Issue #24619: Simplify async/await tokenization.Yury Selivanov2015-07-231-0/+22
|/ | | | | | | | | | This commit simplifies async/await tokenization in tokenizer.c, tokenize.py & lib2to3/tokenize.py. Previous solution was to keep a stack of async-def & def blocks, whereas the new approach is just to remember position of the outermost async-def block. This change won't bring any parsing performance improvements, but it makes the code much easier to read and validate.
* PEP 0492 -- Coroutines with async and await syntax. Issue #24017.Yury Selivanov2015-05-111-1/+31
|
* Issue #22173: Update lib2to3 tests to use unittest test discovery.Zachary Ware2014-10-294-18/+14
|
* Issue #22186: Fix typos in Lib/.Berker Peksag2014-10-191-1/+1
| | | | Patch by F?vry Thibault.
* teach 2to3 about 'yield from'Benjamin Peterson2014-04-101-0/+7
|
* add matrix multiplication operator support to 2to3Benjamin Peterson2014-04-101-0/+6
|
* merge with 3.3Georg Brandl2014-03-172-1/+110
|\
| * #10712: 2to3 has a new "asserts" fixer that replaces deprecated names of ↵Ezio Melotti2013-11-231-0/+50
| | | | | | | | unittest methods.
| * Issue #19592: Use specific asserts in lib2to3 tests.Serhiy Storchaka2013-11-145-17/+17
| |\
| * \ Issue #18037: Do not escape '\u' and '\U' in raw strings.Serhiy Storchaka2013-10-082-1/+60
| |\ \
| | * \ Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.Serhiy Storchaka2013-10-032-1/+60
| | |\ \
| | | * \ merge 3.3 (#19115)Benjamin Peterson2013-09-281-5/+5
| | | |\ \
| | | * \ \ Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka2013-09-162-0/+6
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | now detect Python source code encoding only in comment lines.
| | | * \ \ \ #18741: merge with 3.3.Ezio Melotti2013-08-171-1/+1
| | | |\ \ \ \
| | | * | | | | Issue #16706: get rid of os.errorAndrew Svetlov2012-12-181-1/+1
| | | | | | | |
| | | * | | | | add fixer for reload() -> imp.reload() (closes #11797)\n\nPatch by Laurie ↵Benjamin Peterson2012-12-071-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clark-Michalek and Berker Peksag
* | | | | | | | merge 3.2 (#20695)Benjamin Peterson2014-02-191-0/+0
|\ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Issue #19592: Use specific asserts in lib2to3 tests.Serhiy Storchaka2013-11-145-17/+17
| |/ / / / / / |/| | | | | |
* | | | | | | Issue #18037: Do not escape '\u' and '\U' in raw strings.Serhiy Storchaka2013-10-081-1/+1
| |/ / / / / |/| | | | |
* | | | | | Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.Serhiy Storchaka2013-10-031-0/+37
| |_|_|_|/ |/| | | |
* | | | | fix duplicate test names (closes #19115)Benjamin Peterson2013-09-281-5/+5
| |_|_|/ |/| | | | | | | | | | | Patch by Xavier de Gaye.
* | | | Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py scriptSerhiy Storchaka2013-09-162-0/+6
| |_|/ |/| | | | | | | | now detect Python source code encoding only in comment lines.
* | | #18741: fix more typos. Patch by F?vry Thibault.Ezio Melotti2013-08-171-1/+1
| |/ |/|
* | merge 3.2 (#16573)Benjamin Peterson2012-11-291-0/+12
|\ \ | |/
| * enumerate only requires an iterable (closes #16573)Benjamin Peterson2012-11-291-0/+12
| | | | | | | | Patch by Jonathan Kotta.
* | remove get_prefix and set_prefix (#13248)Benjamin Peterson2012-03-141-17/+0
|/
* 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-131-0/+1
|