[Python-Dev] Relative imports in Py3k (original) (raw)

Eric Smith eric at trueblade.com
Sat Sep 25 15:58:01 CEST 2010


On 9/25/2010 9:15 AM, anatoly techtonik wrote:

from ... import config from ..utils.qthelpers import translate, addactions, createaction

But this doesn't work, and I couldn't find any short user level explanation why it is not possible to make this work at least in Py3k without additional magic.

This doesn't belong on python-dev, as it's not about developing python.

Also, it's a horrible bug report, if that's what it is. I'd suggest trying python-list and reading something like http://itscommonsensestupid.blogspot.com/2008/07/tips-to-write-good-bug-report.html

Eric.



More information about the Python-Dev mailing list