pyc in python3

Elan Ruusamäe glen at pld-linux.org
Sat Jul 28 09:05:31 CEST 2012


hi

i think this hasn't come out as nobody pointed it, but pep-3147 says 
that the old .pyc only distribution is still possible:

http://www.python.org/dev/peps/pep-3147/

For backward compatibility, Python will still support pyc-only 
distributions, however it will only do so when the pyc file lives in the 
directory where the py file would have been, i.e. not in the __pycache__ 
directory. pyc file outside of __pycache__ will only be imported if the 
py source file is missing.

-- 
glen


More information about the pld-devel-en mailing list