Author dacut
Recipients asvetlov, dacut, gvanrossum, njs, vaizki, yselivanov
Date 2019-11-20.08:26:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574238367.08.0.613741251493.issue37228@roundup.psfhosted.org>
In-reply-to
Content
Alright -- my first stab at the DeprecationWarning in 3.6.
https://github.com/dacut/cpython/commit/6a1e261678975e2c70ec6b5e98e8affa28702312

Please critique away, and don't fret about bruising my ego. :-)

Is there a more idiomatic way of getting a warning to show up against the first callee that's not in the current module? I'm not enamored of the monstrosity I'm put together around line 918 of base_events.py (but less enamored about displaying warnings that the user is going to tear their hair out over trying to find the offending source line):

https://github.com/dacut/cpython/commit/6a1e261678975e2c70ec6b5e98e8affa28702312#diff-08afa52ab2b1511bee8527814ad44d80R918
History
Date User Action Args
2019-11-20 08:26:07dacutsetrecipients: + dacut, gvanrossum, njs, asvetlov, yselivanov, vaizki
2019-11-20 08:26:07dacutsetmessageid: <1574238367.08.0.613741251493.issue37228@roundup.psfhosted.org>
2019-11-20 08:26:07dacutlinkissue37228 messages
2019-11-20 08:26:06dacutcreate