[Python-Dev] python-dev Summary for 2004-09-16 through 2004-09-30 [draft]

Barry Warsaw barry at python.org
Thu Oct 14 16:14:12 CEST 2004


On Thu, 2004-10-14 at 10:04, Bob Ippolito wrote:

> > +1.  Also, if a non-dotted module name can't be found, pyrun should be
> > called to see if the module is actually a package (with an __main__ 
> > that
> > lives in the package's __init__.py).
> 
> Wouldn't it make more sense to look for main rather than __main__?  It 
> seems that __main__ (as a function) occurs EXACTLY ZERO times in the 
> standard library ;)

I think that's a fine convention, so +1.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20041014/2ad7d4e6/attachment.pgp


More information about the Python-Dev mailing list