homepage

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 vstinner
Recipients Arfrever, Ben.Darnell, BreamoreBoy, chris.jerdonek, ezio.melotti, michael.foord, ncoghlan, rbcollins, serhiy.storchaka, vstinner
Date 2018年12月12日.15:05:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544627133.26.0.788709270274.issue15626@psf.upfronthosting.co.za>
In-reply-to
Content
> Something was changed in 3.7
Yeah, Python 3.7 handles warning options differently: there is the PEP 565 and this commit:
commit 747f48e2e92390c44c72f52a1239959601cde157
Author: Victor Stinner <victor.stinner@gmail.com>
Date: Tue Dec 12 22:59:48 2017 +0100
 bpo-32230: Set sys.warnoptions with -X dev (#4820)
 
 Rather than supporting dev mode directly in the warnings module, this
 instead adjusts the initialisation code to add an extra 'default'
 entry to sys.warnoptions when dev mode is enabled.
 
 This ensures that dev mode behaves *exactly* as if `-Wdefault` had
 been passed on the command line, including in the way it interacts
 with `sys.warnoptions`, and with other command line flags like `-bb`.
 
 Fix also bpo-20361: have -b & -bb options take precedence over any
 other warnings options.
 
 Patch written by Nick Coghlan, with minor modifications of Victor Stinner.
History
Date User Action Args
2018年12月12日 15:05:33vstinnersetrecipients: + vstinner, ncoghlan, rbcollins, ezio.melotti, Arfrever, michael.foord, chris.jerdonek, BreamoreBoy, Ben.Darnell, serhiy.storchaka
2018年12月12日 15:05:33vstinnersetmessageid: <1544627133.26.0.788709270274.issue15626@psf.upfronthosting.co.za>
2018年12月12日 15:05:33vstinnerlinkissue15626 messages
2018年12月12日 15:05:33vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /