diff Python/dynload_shlib.c @ 33660:0bfd35a76a44 legacy-trunk

Print verbose messages to stderr. Fixes #1036752.
author Martin v. Löwis <martin@v.loewis.de>
date Sun, 03 Oct 2004 08:51:35 +0000
parents e6379bda91d7
children caea0cc09a42
line wrap: on
line diff
--- a/Python/dynload_shlib.c	Sun Oct 03 08:29:55 2004 +0000
+++ b/Python/dynload_shlib.c	Sun Oct 03 08:51:35 2004 +0000
@@ -113,7 +113,8 @@
 #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 */