Issue #28748: Private variable _Py_PackageContext is now of type "const char *"

rather of "char *".
This commit is contained in:
Serhiy Storchaka 2016-11-21 10:25:54 +02:00
parent 1fb1c998b2
commit b57d9eac41
5 changed files with 7 additions and 4 deletions

View file

@ -94,7 +94,7 @@ _PyImport_LoadDynamicModuleWithSpec(PyObject *spec, FILE *fp)
#endif
PyObject *name_unicode = NULL, *name = NULL, *path = NULL, *m = NULL;
const char *name_buf, *hook_prefix;
char *oldcontext;
const char *oldcontext;
dl_funcptr exportfunc;
PyModuleDef *def;
PyObject *(*p0)(void);