[New-bugs-announce] [issue8553] 2to3 breaks relative imports
Jeffrey Yasskin
report at bugs.python.org
Wed Apr 28 03:18:32 CEST 2010
New submission from Jeffrey Yasskin <jyasskin at gmail.com>:
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 should I commit it? I'm not sure where 2to3 actually lives anymore.
----------
components: Library (Lib)
files: 2to3_fix.patch
keywords: needs review, patch, patch
messages: 104392
nosy: jyasskin
priority: normal
severity: normal
stage: patch review
status: open
title: 2to3 breaks relative imports
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file17114/2to3_fix.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8553>
_______________________________________
More information about the New-bugs-announce
mailing list