[Python-ideas] Just __main__

anatoly techtonik techtonik at gmail.com
Mon Jun 18 17:26:59 CEST 2012

How about global __main__ as a boolean?

__name__ == '__main__' as a mark of entrypoint module is coherent and
logical, but awkward to type and requires explicit explaination for
newcomers even with prior background in other langauges.

More information about the Python-ideas mailing list