How about some syntactic sugar for " __name__ == '__main__' "?
Ethan Furman
ethan at stoneleaf.us
Wed Nov 12 16:19:45 EST 2014
On 11/12/2014 01:02 PM, John Ladasky wrote:
>
> I would like to start a discussion about whether Python should include
> a function which executes this evaluation, and hides all of the unfriendly
> dunderish details. And if that's a good idea, I would invite a discussion
> of how, exactly, it should be implemented. I'm nowhere near proposing a
> PEP, but that may come later.
I believe this has come up before. You might check the Python-Ideas list to see. If you do, please write up a summary
of the past discussions so we can move forward instead of rehashing the same things as before.
--
~Ethan~
More information about the Python-list
mailing list