A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-March/098148.html below:

[Python-Dev] __file__ and bytecode-only

[Python-Dev] __file__ and bytecode-only [Python-Dev] __file__ and bytecode-onlyGreg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 4 04:48:36 CET 2010
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
More information about the Python-Dev mailing list

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