Staging
v0.5.1
https://github.com/python/cpython
Revision 2de5097ba4c50eba90df55696a7b2e74c93834d4 authored by Brett Cannon on 04 December 2020, 23:39:21 UTC, committed by GitHub on 04 December 2020, 23:39:21 UTC
Raise an ImportWarning when the import system falls back on load_module(). As for implementations of load_module(), raise a DeprecationWarning.
1 parent 79c1849
Raw File
Tip revision: 2de5097ba4c50eba90df55696a7b2e74c93834d4 authored by Brett Cannon on 04 December 2020, 23:39:21 UTC
bpo-26131: Deprecate usage of load_module() (GH-23469)
Tip revision: 2de5097
pydtrace.d
/* Python DTrace provider */

provider python {
    probe function__entry(const char *, const char *, int);
    probe function__return(const char *, const char *, int);
    probe instance__new__start(const char *, const char *);
    probe instance__new__done(const char *, const char *);
    probe instance__delete__start(const char *, const char *);
    probe instance__delete__done(const char *, const char *);
    probe line(const char *, const char *, int);
    probe gc__start(int);
    probe gc__done(long);
    probe import__find__load__start(const char *);
    probe import__find__load__done(const char *, int);
    probe audit(const char *, void *);
};

#pragma D attributes Evolving/Evolving/Common provider python provider
#pragma D attributes Evolving/Evolving/Common provider python module
#pragma D attributes Evolving/Evolving/Common provider python function
#pragma D attributes Evolving/Evolving/Common provider python name
#pragma D attributes Evolving/Evolving/Common provider python args
back to top