Print verbose messages to stderr. Fixes #1036752.

This commit is contained in:
Martin v. Löwis 2004-10-03 08:51:35 +00:00
parent fec1ce0b72
commit 507a485984

View file

@ -113,7 +113,8 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
#endif
if (Py_VerboseFlag)
printf("dlopen(\"%s\", %x);\n", pathname, dlopenflags);
PySys_WriteStderr("dlopen(\"%s\", %x);\n", pathname,
dlopenflags);
#ifdef __VMS
/* VMS currently don't allow a pathname, use a logical name instead */