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 christian.heimes, steve.dower, vstinner
Date 2019-07-05.15:39:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562341162.06.0.970629865368.issue37505@roundup.psfhosted.org>
In-reply-to
Content
PySys_Audit() exit immediately if ts=NULL:

    /* Early exit when no hooks are registered */
    if (!should_audit(ts)) {
        return 0;
    }

It exits before calling:

    /* Dtrace USDT point */
    if (dtrace) {
        PyDTrace_AUDIT(event, (void *)eventArgs);
    }

where eventArgs is the tuple.

Do you really care of getting an audit event when the *main* interpreter is created? It doesn't sound like an attack vector to start Python, no? If you need an event "Python started", we can add one later, when the PySys_Audit() is usable.
History
Date User Action Args
2019-07-05 15:39:22vstinnersetrecipients: + vstinner, christian.heimes, steve.dower
2019-07-05 15:39:22vstinnersetmessageid: <1562341162.06.0.970629865368.issue37505@roundup.psfhosted.org>
2019-07-05 15:39:22vstinnerlinkissue37505 messages
2019-07-05 15:39:21vstinnercreate