cpython/Lib/lib2to3/tests/data
Benjamin Peterson 7d8d9a588c Merged revisions 66797 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

................
  r66797 | benjamin.peterson | 2008-10-04 15:55:50 -0500 (Sat, 04 Oct 2008) | 19 lines

  Merged revisions 66707,66775,66782 via svnmerge from
  svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

  ........
    r66707 | benjamin.peterson | 2008-09-30 18:27:10 -0500 (Tue, 30 Sep 2008) | 1 line

    fix #4001: fix_imports didn't check for __init__.py before converting to relative imports
  ........
    r66775 | collin.winter | 2008-10-03 12:08:26 -0500 (Fri, 03 Oct 2008) | 4 lines

    Add an alternative iterative pattern matching system that, while slower, correctly parses files that cause the faster recursive pattern matcher to fail with a recursion error. lib2to3 falls back to the iterative matcher if the recursive one fails.

    Fixes http://bugs.python.org/issue2532. Thanks to Nick Edds.
  ........
    r66782 | benjamin.peterson | 2008-10-03 17:51:36 -0500 (Fri, 03 Oct 2008) | 1 line

    add Victor Stinner's fixer for os.getcwdu -> os.getcwd #4023
  ........
................
2008-10-04 21:04:36 +00:00
..
fixers Merged revisions 66653-66654 via svnmerge from 2008-09-27 22:17:35 +00:00
README Merged revisions 66797 via svnmerge from 2008-10-04 21:04:36 +00:00
infinite_recursion.py Merged revisions 66797 via svnmerge from 2008-10-04 21:04:36 +00:00
py2_test_grammar.py Merged revisions 66453 via svnmerge from 2008-09-13 18:37:09 +00:00
py3_test_grammar.py Merged revisions 66453 via svnmerge from 2008-09-13 18:37:09 +00:00

README

Files 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.