[Python-Dev] PEP 328 and PEP 338, redux (original) (raw)

Giovanni Bajo rasky at develer.com
Wed Jun 28 19:21:33 CEST 2006


Guido van Rossum wrote:

This is where I wonder why the "def main()" PEP was rejected in the first place. It would have solved this problem as well.

Could this be reconsidered for Py3k? You have a point.

AFAICT, there's nothing preventing it from being added in 2.6. It won't break existing code with the "if name == main" paradigm.

Giovanni Bajo



More information about the Python-Dev mailing list