[Python-Dev] Dropping __init__.py requirement for subpackages
Guido van Rossum
guido at python.org
Wed Apr 26 23:07:01 CEST 2006
On 4/26/06, Terry Jones <tcj25 at cam.ac.uk> wrote:
> I would suggest adding a hook to their version control system to
> automatically create (and preferably also check out) an __init__.py file
> whenever a new (source code) directory was placed under version control
> (supposing you can distinguish source code directories from the check in
> dirname).
This wouldn't work of course -- the newbie would try to test it before
checking it in, so the hook would not be run.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list