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 steve.dower
Recipients paul.moore, sparrowt, steve.dower, tim.golden, zach.ware
Date 2022-01-20.14:20:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <58f58b28-4bdc-b872-351f-a232798394c5@python.org>
In-reply-to <1642688156.71.0.654720712765.issue46434@roundup.psfhosted.org>
Content
> the existing check in `do_help` didn't catch this case because https://docs.python.org/3/library/sys.html#sys.flags only reflects command line flags, rather than whether or not it was actually optimised.

Precisely. Your check is much more appropriate for what the actual issue 
is going to be, though keeping the existing check there means we can 
provide a more specific error message when we *know* that the user 
deliberately chose that behaviour.
History
Date User Action Args
2022-01-20 14:20:11steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, sparrowt
2022-01-20 14:20:11steve.dowerlinkissue46434 messages
2022-01-20 14:20:10steve.dowercreate