[Python-Dev] disable writing .py[co] (original) (raw)

Thomas Heller theller@python.net
21 Jan 2003 15:36:41 +0100


Skip Montanaro <skip@pobox.com> writes:

All that happens is that when you go to read or write a .pyc file is that you prepend PYCROOT to the full path to the .py source file in addition to adding a 'c' to the end.

Wouldn't that place all the (incompatible) pyc files in the same directory?

Most of the time I have several Python versions installed...

Cons:

* it's not obvious (to me) what the semantics should be on multi-root systems like Windows (I can see a couple alternatives).

I cannot understand this sentence. What do you mean?

Thomas