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 brett.cannon
Recipients anish.shah, brett.cannon, giampaolo.rodola, marco.buttu, pitrou, vstinner, yselivanov
Date 2016-02-02.18:10:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm not quite sure what you mean by "do not know how to check if the deprecation warning are enabled". Do you mean how do you make sure you don't emit a DeprecationWarning if someone hasn't turned warnings on? If that's the case then if you look at some example code and read you will notice that when you call the warning-related functions, all you have to do is check if the return value is < 0, then return like there is an exception raised. Otherwise the warnings module handles whether something will be shown.
Date User Action Args
2016-02-02 18:10:08brett.cannonsetrecipients: + brett.cannon, pitrou, vstinner, giampaolo.rodola, yselivanov, marco.buttu, anish.shah
2016-02-02 18:10:08brett.cannonsetmessageid: <>
2016-02-02 18:10:08brett.cannonlinkissue26182 messages
2016-02-02 18:10:07brett.cannoncreate