On Tue, Jul 13, 2010 at 4:52 PM, Brett Cannon <br...@python.org> wrote:
..
> Pulling from sys.modules is the correct way to do this. There are subtle
> issues when using a bunk fromlist argument (empty modules, double
> initialization, etc.). If one does not use importlib.import_module --
> written *specifically* to prevent people from doing the nasty hack with the
> fromlist -- then you should use the sys.modules approach, period. If
> import.c is not doing this then it should get fixed. You can assign me the
> issue if you want.

Please see http://bugs.python.org/issue9252 .
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to