mirror of https://github.com/python/cpython
a6e395dffa
* Allow underscores in numeric literals in lib2to3. * Stricter literal parsing for Python 3.6 in lib2to3.pgen2.tokenize. * Add test case for underscores in literals in Python 3. |
||
---|---|---|
.. | ||
fixers | ||
README | ||
bom.py | ||
crlf.py | ||
different_encoding.py | ||
false_encoding.py | ||
infinite_recursion.py | ||
py2_test_grammar.py | ||
py3_test_grammar.py |
README
In this directory: - py2_test_grammar.py -- test file that exercises most/all of Python 2.x's grammar. - py3_test_grammar.py -- test file that exercises most/all of Python 3.x's grammar. - infinite_recursion.py -- test file that causes lib2to3's faster recursive pattern matching scheme to fail, but passes when lib2to3 falls back to iterative pattern matching. - fixes/ -- for use by test_refactor.py