[Python-ideas] Replacing the if __name__ == "__main__" idiom (was Re: making a module callable)

Barry Warsaw barry at python.org
Mon Nov 25 23:39:03 CET 2013


On Nov 25, 2013, at 02:29 PM, Guido van Rossum wrote:

>For all I care you can call it ismain().

Okay, I think I'm going to officially not care now.  :)   None of these
suggestions seem worth the effort to indoctrinate folks to some new idiom,
regardless of how it's spelled.

-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131125/2e1f3682/attachment-0001.sig>


More information about the Python-ideas mailing list