]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Merged revisions 66707,66775,66782 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Sat, 4 Oct 2008 20:55:50 +0000 (20:55 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sat, 4 Oct 2008 20:55:50 +0000 (20:55 +0000)
commit4d164158d6829bdb0b186132e8bd611d6c517135
treecaf0d8ec6ad2f09b129d1fa14e99dba2bb3fc6be
parent34211e91ef82521b051f4e1ad426f48d950c381b
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
........
Lib/lib2to3/fixes/fix_getcwdu.py [new file with mode: 0644]
Lib/lib2to3/fixes/fix_import.py
Lib/lib2to3/pytree.py
Lib/lib2to3/tests/data/README [new file with mode: 0644]
Lib/lib2to3/tests/data/infinite_recursion.py [new file with mode: 0644]
Lib/lib2to3/tests/test_fixers.py