Message 400671 - Python tracker (original) (raw)

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?