pyc in python3

Jacek Konieczny jajcus at jajcus.net
Sat Jul 28 11:54:55 CEST 2012


On Sat, Jul 28, 2012 at 10:05:31AM +0300, Elan Ruusamäe wrote:
> 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.

"still possible" and "for backward compatibility" doesn't sound like 'it
is a wise thing to do"

Greets,
        Jacek


More information about the pld-devel-en mailing list