[Python-Dev] __file__ and bytecode-only

Antoine Pitrou solipsis at pitrou.net
Sun Mar 14 16:24:11 CET 2010

Le Sun, 14 Mar 2010 12:59:50 +0000,
Jon Ribbens <jon+python-dev at unequivocal.co.uk> a écrit :
> Sorry if I missed it, but why on earth is the bytecode directory
> __pycache__ and not .pycache? (Or indeed anything else that starts
> with a '.') Surely this is a classic ideal use case for a "hidden"
> directory?

I suppose the same reason pyc files are not hidden nowadays. We want
people to be aware that these files exist.

More information about the Python-Dev mailing list