Staging
v0.8.1
v0.8.1
Revision c7d2d69d95b263ee5f83511bc6fbe53acdc24ea3 authored by Victor Stinner on 12 March 2020, 07:38:11 UTC, committed by GitHub on 12 March 2020, 07:38:11 UTC
PyDescr_NewMethod() and PyCFunction_NewEx() now include the method name in the SystemError "bad call flags" error message to ease debug.
1 parent 1dd3794
dynload_dl.c
/* Support for dynamic loading of extension modules */
#include "dl.h"
#include "Python.h"
#include "importdl.h"
extern char *Py_GetProgramName(void);
const char *_PyImport_DynLoadFiletab[] = {".o", NULL};
dl_funcptr _PyImport_FindSharedFuncptr(const char *prefix,
const char *shortname,
const char *pathname, FILE *fp)
{
char funcname[258];
PyOS_snprintf(funcname, sizeof(funcname), "%.20s_%.200s", prefix, shortname);
return dl_loadmod(Py_GetProgramName(), pathname, funcname);
}
Computing file changes ...