[issue8553] 2to3 breaks relative imports

2010-04-27 Thread Jeffrey Yasskin
Jeffrey Yasskin added the comment: Thanks! Committed as r80573. -- keywords: -needs review stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue8553] 2to3 breaks relative imports

2010-04-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please use double quotes and unicode literals. Otherwise, it's fine. -- ___ Python tracker ___ __

[issue8553] 2to3 breaks relative imports

2010-04-27 Thread Brian Curtin
Brian Curtin added the comment: I believe sandbox/trunk/2to3 is the right spot. The patch seems ok to me, but Benjamin will probably want a look. -- nosy: +benjamin.peterson, brian.curtin ___ Python tracker __

[issue8553] 2to3 breaks relative imports

2010-04-27 Thread Jeffrey Yasskin
New submission from Jeffrey Yasskin : 2to3, at least the version in the python-2 tree, currently turns from . import refactor into from .. import refactor which breaks the transformation of 2to3 itself. The attached patch fixes this and tests it. Once someone's looked this over, where