[Python-3000] New Import Behavior

Armin Ronacher armin.ronacher at active-4.com
Mon Jan 15 21:35:21 CET 2007


Hi,

Barry Warsaw <barry <at> python.org> writes:

> Use __path__

I know that __path__ is a solution. But it's not such a good solution. Say you
have written a pretty large framework with the modules `fw.foo`, `fw.bar` and
many more. Now you want to distribute just `fw.foo` with another module. If the
python import way would be changed this would be much simpler.

I know that setuptools fixes a lot of those issues but on the way to python3000
some improvements in the way modules are imported could be possible imho.

Regards,
Armin



More information about the Python-3000 mailing list