Antoine Pitrou wrote:

Actually, I find it neater to have a single cache directory. It makes
for much less clutter, and simpler ignore rules.

Another possibility would be to have a single top-level
cache directory with a subdirectory for each version:

  __bytecode__.pycache/<version>/<filename>.pyc

I don't think this ought to increase the stat call
count, since the interpreter will always be looking
for a particular version of bytecode, so it can
just stat for the appropriate subdirectory
directly.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to