[Python-Dev] privacy in log files?

Guido van Rossum guido@python.org
Wed, 19 Feb 2003 14:57:33 -0500

I found this comment in Parser/tokenizer.c:

		/* We don't use PyErr_WarnExplicit() here because
		   printing the line in question to e.g. a log file
		   could result in sensitive information being
		   exposed. */

I didn't see a SF reference there or in the CVS checkin comment, so
I'm stumped.  What's the use case?  How could copying a line of source
code to a log file possibly expose information that the owner of the
log file (often root) doesn't already have access to?

--Guido van Rossum (home page: http://www.python.org/~guido/)