> Fernando Perez wrote: >> Skip Montanaro wrote: >> >> I've wondered if it wouldn't be better if the std lib were all stuffed >> into its >> own namespace: >> >> from std import urllib >> >> If a more structured approach is desired, it could be >> >> from std.www import urllib > > One may want to look at the "py.std" approach of "the py lib", found at > http://codespeak.net/py/current/doc/misc.html#the-py-std-hook > > Reinhold
Thats where I hijacked the idea. Doing that would allow both to work. Legacy code could still use: import logging and new code could use: import std.logging At some point the legacy way to do things should be deprecated. David _______________________________________________ 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