[Python-Dev] Consistent logging in the standard library

Barry Warsaw barry at python.org
Thu Sep 18 00:52:02 EDT 2003


On Wed, 2003-09-17 at 20:22, Matthew F. Barnes wrote:

> Not to get too far off-topic, but I'm curious what this statement would do:
> 
>     from _ import *

I don't know.  Perhaps Lib should have an __init__.py that would export
an __all__?

> And was this notation ever considered?
> 
>     import .logging

It just was! :)

> (Not that that would help us much with the logging namespace issue. :-)

No, but maybe they shouldn't be tied.  Unless they should <wink>.  I
just wanted to bring it up because it seemed somewhat related and I've
been meaning to write a PEP on forced global imports for Python 2.4.

-Barry





More information about the Python-Dev mailing list