This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients cameron, docs@python, gvanrossum, iritkatriel, jack__d, lukasz.langa, maggyero, miss-islington, steven.daprano, terry.reedy
Date 2021-08-30.21:31:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630359116.78.0.862130599852.issue39452@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2021-08-30 21:31:56gvanrossumsetrecipients: + gvanrossum, terry.reedy, cameron, steven.daprano, docs@python, lukasz.langa, maggyero, miss-islington, iritkatriel, jack__d
2021-08-30 21:31:56gvanrossumsetmessageid: <1630359116.78.0.862130599852.issue39452@roundup.psfhosted.org>
2021-08-30 21:31:56gvanrossumlinkissue39452 messages
2021-08-30 21:31:56gvanrossumcreate