Skip Montanaro wrote:
> The main technical challenge seems to be
> backward compatibility.  You need to support both flat ("import 
> urllib") and
> packaged namespaces ("from www import urllib"), possibly within the 
> same
> application.  That is, postulating a www package, if I execute
>
>     import urllib
>     from www.urllib import urlopen
>
> the module-level code should only be executed once, and
>
>     urlopen == urllib.urlopen
>
> should evaluate to True.

Unless
        from __future__ import new_std_library

and we don't allow mixed use within the same module.

--eric

_______________________________________________
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