a little excess verbosity in import.c
tnb2d@henson.cs.virginia.edu
Mon, 9 May 94 17:37:59 EDT
When I started using dynamically loaded modules a couple of
months ago I remember being sort of annoyed that Python printed out a
"dlopen(blahmodule, ..." message every time I loaded one. So I put a
check in so that this would only be printed if the verbose flag were
thrown. On line 315 of import.c change:
printf("dlopen(\"%s\", %d);\n",
namebuf, RTLD_LAZY);
to:
if (verbose)
printf("dlopen(\"%s\", %d);\n",
namebuf, RTLD_LAZY);
It's that easy.
-------> Tommy.
"Subvert the parental paradigm - Refuse Birth."