[issue13317] building with 2to3 generates wrong import paths because build_ext is run after build_py

Éric Araujo report at bugs.python.org
Mon Nov 21 15:35:24 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Ah, thanks for clarifying, I didn’t understand what you meant with local/global but now I see it’s about absolute imports and explicit relative imports.  (I don’t remember ever reading that terminology before looking at fix_import.)

I’m adding the “easy” keyword because it should not be too hard to write tests for this, with the examples and helpers we already have in the test suite and given that I’m available for help.

----------
assignee: tarek -> eric.araujo
components: +Distutils2 -2to3 (2.x to 3.x conversion tool)
keywords: +easy
nosy: +alexis
stage:  -> needs patch
type:  -> behavior
versions: +3rd party, Python 3.2, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13317>
_______________________________________


More information about the Python-bugs-list mailing list