[Python-3000] [stdlib-sig] PEP 3108 - stdlib reorg/cleanup

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 1 07:33:10 CEST 2008


Brett Cannon wrote:
> There is a general dislike in putting code in a package's __init__
> module.

Why? What's the point of having an __init__.py file if
you're not allowed to put any code there?

If it's something that applies to the package as a
whole, that seems like the obvious place to put it.

-- 
Greg


More information about the Python-3000 mailing list