Skip to content

Commit e34ff42

Browse files
author
loewis
committed
Print verbose messages to stderr. Fixes #1036752.
git-svn-id: http://svn.python.org/projects/python/trunk@37524 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 4e4743b commit e34ff42

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Python/dynload_shlib.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ dl_funcptr _PyImport_GetDynLoadFunc(const char *fqname, const char *shortname,
113113
#endif
114114

115115
if (Py_VerboseFlag)
116-
printf("dlopen(\"%s\", %x);\n", pathname, dlopenflags);
116+
PySys_WriteStderr("dlopen(\"%s\", %x);\n", pathname,
117+
dlopenflags);
117118

118119
#ifdef __VMS
119120
/* VMS currently don't allow a pathname, use a logical name instead */

0 commit comments

Comments
 (0)