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

Eric Snow ericsnowcurrently at gmail.com
Mon Nov 25 23:50:25 CET 2013


On Mon, Nov 25, 2013 at 3:39 PM, Barry Warsaw <barry at python.org> wrote:
> 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.

+1

-eric


More information about the Python-ideas mailing list