[Python-Dev] __file__ and bytecode-only

Jon Ribbens jon+python-dev at unequivocal.co.uk
Sun Mar 14 13:59:50 CET 2010


On Fri, Mar 12, 2010 at 05:56:57PM -0500, Barry Warsaw wrote:
> Nope, sorry I should have been clearer.
> 
> *creation* is the key here.  As per BDFL pronouncement, we'll support reading
> pyc-only modules just like we do today.  This is in PEP 3147.  We won't
> support creating them though.
> 
> BTW, I'm actually starting to work on the implementation now, so if you want
> to play along:
> 
> % bzr branch lp:~barry/python/pep3147

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?


More information about the Python-Dev mailing list