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

Neal Norwitz neal@metaslash.com
Mon, 20 Jan 2003 17:32:04 -0500

In http://python.org/sf/602345 (option for not writing .py[co] files)
Martin suggested that in addition to a flag (-R, as in read-only),
perhaps there should be an env't variable and/or a sys attribute
which controls whether .py[co] files are written or not.


If you like the idea of an env't variable or sys attribute, do you
have suggestions for names?  PYTHONREADONLY and sys.readonly_import?