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 ncoghlan
Recipients ncoghlan, vstinner
Date 2017-12-06.10:47:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512557268.94.0.213398074469.issue32230@psf.upfronthosting.co.za>
In-reply-to
Content
I filed https://bugs.python.org/issue32231 to cover having -bb always override other warnings settings when it comes to handling BytesWarning.

Writing that issue made me realise another quirk with `-X dev` though: as a command line option, it should really take precedence over PYTHONWARNINGS, while remain subordinate to other explicit -W options.

I've adjusted the PR to implement that change, but haven't added a test case that ensures the behaviour persists.
History
Date User Action Args
2017-12-06 10:47:48ncoghlansetrecipients: + ncoghlan, vstinner
2017-12-06 10:47:48ncoghlansetmessageid: <1512557268.94.0.213398074469.issue32230@psf.upfronthosting.co.za>
2017-12-06 10:47:48ncoghlanlinkissue32230 messages
2017-12-06 10:47:48ncoghlancreate