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 aldwinaldwin
Recipients Culip, aldwinaldwin, docs@python, paul.j3, zach.ware
Date 2019-07-11.05:52:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562824350.97.0.692880085387.issue37545@roundup.psfhosted.org>
In-reply-to
Content
The >= is unnecessary in this exact example, as is correctly noted by Nathan.

I understand using >= for future purposes, after you explained, what is also correct but confusing because you specifically describe why you change the >= 2, but it doesn't make sense for >= 1 then.

For the last example, I might be completely wrong (please don't shoot me), IMHO it can be == 1 also? It is not 'explicitly showing how to emit additional messages at higher verbosity levels', but to 'uses verbosity level to display more text'. So, removing the 'else' statement to always print(answer), no matter which verbosity is shown.

To avoid confusion, I recommend the change and please have another look at the last statement that makes no difference in using == or >=.
History
Date User Action Args
2019-07-11 05:52:31aldwinaldwinsetrecipients: + aldwinaldwin, docs@python, paul.j3, zach.ware, Culip
2019-07-11 05:52:30aldwinaldwinsetmessageid: <1562824350.97.0.692880085387.issue37545@roundup.psfhosted.org>
2019-07-11 05:52:30aldwinaldwinlinkissue37545 messages
2019-07-11 05:52:30aldwinaldwincreate