<[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I don't like much the syntax of:
> if __name__ == '__main__':
>
> Some time ago I have read this PEP:
> http://www.python.org/dev/peps/pep-0299/
>
> And why it was refused:
> http://mail.python.org/pipermail/python-dev/2006-March/062955.html
>
> I think the name of the standard main function may be just main(), so
> there isn't the problem with the import (and *maybe* the problem with
> multiple Python versions can be ignored with Python 3.0).

This idea, and a couple of variations, have come up in the Py3 discussions, 
so something might be tried.

tjr



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to