diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2004-10-03 08:51:35 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2004-10-03 08:51:35 (GMT) |
commit | 507a485984111874fe36302c4701be9861a1849c (patch) | |
tree | fe2ef037749e882397bea0185fad19102c25b452 | |
parent | fec1ce0b726e17d73d3743a966b64931b069c93a (diff) | |
download | cpython-507a485984111874fe36302c4701be9861a1849c.zip cpython-507a485984111874fe36302c4701be9861a1849c.tar.gz cpython-507a485984111874fe36302c4701be9861a1849c.tar.bz2 |
Print verbose messages to stderr. Fixes #1036752.
-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 50851a8..2b5a11a 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 */ |