Guido van Rossum <[email protected]> added the comment:
Thanks, the rewrite is great!
I have one nit: did you consider which of these two idioms is better?
if __name__ == "__main__":
main()
vs.
if __name__ == "__main__":
sys.exit(main())
Your docs seem to promote the second, whereas I've usually preferred the
former. Was this a considered choice on your part?
----------
nosy: +gvanrossum
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue39452>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com