Message307709
| 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:00 | ncoghlan | set | recipients:
+ ncoghlan, vstinner |
| 2017年12月06日 08:41:00 | ncoghlan | set | messageid: <1512549660.05.0.213398074469.issue32230@psf.upfronthosting.co.za> |
| 2017年12月06日 08:40:59 | ncoghlan | link | issue32230 messages |
| 2017年12月06日 08:40:59 | ncoghlan | create |
|