[Python-Dev] file and bytecode-only (original) (raw)

Barry Warsaw barry at python.org
Fri Mar 12 20:53:12 CET 2010


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.:

-Xcachebytecode=no (don't write bytecode files at all)

-B and $PYTHONDONTWRITEBYTECODE will still be supported and serve this use case.

-Xcachebytecode=file (write a classic "foo.pyc" file) -Xcachebytecode=dir (write to the "pycache" directory)

With cachebytecode=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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20100312/837d9b43/attachment.pgp>



More information about the Python-Dev mailing list