diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-10-03 08:51:35 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-10-03 08:51:35 +0000 |
commit | 274642bd31826901c34a4bb547c346d98f9c89e9 (patch) | |
tree | 56faaca64a5be1c0b61d6bbba3ac2e651e18c4fb /Python/dynload_shlib.c | |
parent | 4e596942a9d48d06e28cc4b1148ef75ca681294f (diff) | |
download | cpython-274642bd31826901c34a4bb547c346d98f9c89e9.tar.gz |
Print verbose messages to stderr. Fixes #1036752.
Diffstat (limited to 'Python/dynload_shlib.c')
-rw-r--r-- | Python/dynload_shlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c index 50851a876f..2b5a11a220 100644 --- a/Python/dynload_shlib.c +++ b/Python/dynload_shlib.c @@ -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 */ |