Author steve.dower
Recipients steve.dower, tkmk
Date 2020-07-02.19:51:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593719476.03.0.0179424459226.issue41180@roundup.psfhosted.org>
In-reply-to
Content
Actually, a quick search of codeobject.c and a look at tkmk's PR makes it seem like the audit event should be being raised from inside PyCode_NewWithPosOnlyArgs anyway (which IIRC didn't exist when I first added the event, though it was probably there before it was merged).

In general, events should be raised after parameters have been validated, but before any work is done. And when all the other calls feed through a single function, just auditing that one function is enough.
History
Date User Action Args
2020-07-02 19:51:16steve.dowersetrecipients: + steve.dower, tkmk
2020-07-02 19:51:16steve.dowersetmessageid: <1593719476.03.0.0179424459226.issue41180@roundup.psfhosted.org>
2020-07-02 19:51:16steve.dowerlinkissue41180 messages
2020-07-02 19:51:15steve.dowercreate