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.08:40:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512549660.05.0.213398074469.issue32230@psf.upfronthosting.co.za>
In-reply-to
Content
The `-X dev` option is currently integrated directly with the warnings module, rather than working indirectly through `sys.warnoptions`.

This means that any third party code that currently checks sys.warnoptions will need to be updated to check sys.flags.dev_mode as well.

Rather than doing that, I propose that we instead change the way dev mode works to *literally* be equivalent to `-Wdefault`, and remove the direct integration with the warnings machinery.

(PR for that coming shortly)
History
Date User Action Args
2017-12-06 08:41:00ncoghlansetrecipients: + ncoghlan, vstinner
2017-12-06 08:41:00ncoghlansetmessageid: <1512549660.05.0.213398074469.issue32230@psf.upfronthosting.co.za>
2017-12-06 08:40:59ncoghlanlinkissue32230 messages
2017-12-06 08:40:59ncoghlancreate