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 serhiy.storchaka
Recipients serhiy.storchaka, wyz23x2
Date 2020-07-26.10:23:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595759031.96.0.31647934651.issue41399@roundup.psfhosted.org>
In-reply-to
Content
warnings.warn(), the function which emits warnings, has the stacklevel parameter. But how do you provide stacklevel for exceptions?

See also bpo-39725.
History
Date User Action Args
2020-07-26 10:23:51serhiy.storchakasetrecipients: + serhiy.storchaka, wyz23x2
2020-07-26 10:23:51serhiy.storchakasetmessageid: <1595759031.96.0.31647934651.issue41399@roundup.psfhosted.org>
2020-07-26 10:23:51serhiy.storchakalinkissue41399 messages
2020-07-26 10:23:51serhiy.storchakacreate