New submission from Jeffrey Yasskin <jyass...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue8553>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to