This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients Arfrever, Julien.Courteau, alexis, eric.araujo, tarek
Date 2012-05-14.22:12:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337033536.16.0.440469218818.issue13400@psf.upfronthosting.co.za>
In-reply-to
Content
FTR I asked Julien to provide his opinion as a user and he agreed that having just one --byte-compile/--no-byte-compile option pair seemed better than the existing names (where --compile and --optimize are unrelated).

I wanted to avoid --byte-compile=0 to generate pyc, because I expected people to interpret it as “disabled” instead of “optimization level 0”.  Thus the idea of using letters (and avoiding to use c and o as not all VMs have pyc and pyo files).

Note that the new spelling for --compile is the seemingly redundant --byte-compile=b, but that does not matter as it will be the default value so people won’t type it.
History
Date User Action Args
2012-05-14 22:12:16eric.araujosetrecipients: + eric.araujo, tarek, Arfrever, alexis, Julien.Courteau
2012-05-14 22:12:16eric.araujosetmessageid: <1337033536.16.0.440469218818.issue13400@psf.upfronthosting.co.za>
2012-05-14 22:12:15eric.araujolinkissue13400 messages
2012-05-14 22:12:15eric.araujocreate