March 12, 2010
7:53 p.m.
On Mar 04, 2010, at 11:34 PM, Nick Coghlan wrote:
The remaining open question to my mind is whether or not there should be a -X option to control the bytecode generation. E.g.:
-Xcache_bytecode=no (don't write bytecode files at all)
-B and $PYTHONDONTWRITEBYTECODE will still be supported and serve this use case.
-Xcache_bytecode=file (write a classic "foo.pyc" file) -Xcache_bytecode=dir (write to the "__pycache__" directory)
With cache_bytecode=dir being the default for future releases.
I believe we've decided /not/ to support creation of bytecode-only distributions out of the box. -Barry