On Jun 23, 2005, at 10:11 PM, Greg Ewing wrote: > Skip Montanaro wrote: > >> I wrote PEP 304, "Controlling Generation of Bytecode Files": >> >> http://www.python.org/peps/pep-0304.html >> > > I would like to see some way of having bytecode files put > into platform/version dependent subdirectories, which > would make it easier e.g. to have Python code shared > over a network between machines of different architectures > or running different Python versions. But the scheme this > PEP proposes (a single session-wide location) is too > coarse-grained for what I have in mind. So I would not > support this particular PEP without sufficiently large > changes that it might as well become a new PEP. You could implement that in your sitecustomize.py, unless you have Python interpreters that change platform or version mid-session. I don't see why it needs to be subdirectories, you could make the bytecode cache local or somewhere on the server that you have write access to. -bob
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4