Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 6b4c70abcaa348c84a2c1bb6f5a46596cf358e36 authored by Miss Islington (bot) on 01 October 2019, 10:47:52 UTC, committed by GitHub on 01 October 2019, 10:47:52 UTC
* Windows: Fix counter name in WindowsLoadTracker. Counter names are localized: use the registry to get the counter name. Original change written by Lorenz Mende. * Regrtest.main() now ensures that the Windows load tracker is also killed if an exception is raised * TestWorkerProcess now ensures that worker processes are no longer running before exiting: kill also worker processes when an exception is raised. * Enhance regrtest messages and warnings: include test name, duration, add a worker identifier, etc. * Rename MultiprocessRunner to TestWorkerProcess * Use print_warning() to display warnings. Co-Authored-By: Lorenz Mende <Lorenz.mende@gmail.com> (cherry picked from commit 982bfa4da07b2e5749a0f4e68f99e972bcc3a549) Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent d49f096
Tip revision: 6b4c70abcaa348c84a2c1bb6f5a46596cf358e36 authored by Miss Islington (bot) on 01 October 2019, 10:47:52 UTC
bpo-36670: Multiple regrtest bugfixes (GH-16511)
bpo-36670: Multiple regrtest bugfixes (GH-16511)
Tip revision: 6b4c70a
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);
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...