New submission from Bruce Frederiksen <[EMAIL PROTECTED]>:

2to3 svn rev 61696 translates "import local_module" into "import
.local_module" which isn't legal syntax.

Should be "from . import local_module".

assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 64247
nosy: collinwinter, dangyogi
severity: normal
status: open
title: 2to3 translates "import foobar" to "import .foobar" rather than "from . 
import foobar"
type: behavior
versions: Python 2.6

Python-bugs-list mailing list 

Reply via email to