[Python-Dev] disable writing .py[co]

Barry A. Warsaw barry@python.org
Wed, 22 Jan 2003 07:49:04 -0500


>>>>> "MvL" =3D=3D Martin v L=F6wis <martin@v.loewis.de> writes:

    MvL> The real problem here is that some people don't want Python
    MvL> to write any .pyc files, period. So even if mailman
    MvL> byte-compiles all its source code, it can't stop Python from
    MvL> writing .pyc files that belong to mailman. That, in turn, can
    MvL> cause the problems discussed in this thread: there might be
    MvL> races in doing so, it might trigger security alarms, and it
    MvL> might write byte code files in configuration areas of the
    MvL> system where only text files are allowed, per policy.

I'm not against suppressing or redirecting pyc output.  I kind of like
Skip's approach.

-Barry