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

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


On Mon, Nov 25, 2013 at 3:14 PM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> (I also understand that it relies on a more-or-less implementation
> detail, but the implementation detail will have to stay for
> compatibility reasons, anyway)

What implementation detail are you talking about?

-eric


More information about the Python-ideas mailing list