summaryrefslogtreecommitdiffstats
path: root/Mac/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1998-06-26 14:52:04 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1998-06-26 14:52:04 (GMT)
commitfa68b07526082bfcece1c5a17ef63e46fc7cb82b (patch)
tree40e063b6d93bd57db90699948f85eea3083f8a78 /Mac/Python
parent1cd4d52f2f1fe52f3480f490bcc6ef4dc4e4de19 (diff)
downloadcpython-fa68b07526082bfcece1c5a17ef63e46fc7cb82b.zip
cpython-fa68b07526082bfcece1c5a17ef63e46fc7cb82b.tar.gz
cpython-fa68b07526082bfcece1c5a17ef63e46fc7cb82b.tar.bz2
Print message when we load a PYC resource, if verbose import flag is on.
Diffstat (limited to 'Mac/Python')
-rw-r--r--Mac/Python/macglue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mac/Python/macglue.c b/Mac/Python/macglue.c
index 98517e1..2dc6cfa 100644
--- a/Mac/Python/macglue.c
+++ b/Mac/Python/macglue.c
@@ -830,6 +830,9 @@ char *filename;
} else {
m = NULL;
}
+ if (Py_VerboseFlag)
+ fprintf(stderr, "import %s # pyc resource from %s\n",
+ module, filename);
return m;
error:
{