Re: Caches, caches...

michael shiplett (michael.shiplett@umich.edu)
Wed, 16 Mar 1994 15:20:37 -0500

"bt" == Bennett Todd <bet@std.sbi.com> writes:

>> Why not try another directory instead? Like /usr/tmp or whatever.
bt> This introduces a serious security question. The compiler has to
bt> trust the contents of the .pyc file to really be the result of
bt> compiling the .py; if that can be easily violated, people could
bt> easily insert a trojan horse.

How about allowing, via an environment variable/preference setting,
a directory the user defines--e.g., on Unix,
PYTHON_COMPILED_PATH=$HOME/bin/python

Of course, such may already be possible & I don't know about it...

michael