[Import-SIG] PEP for the removal of PYO files

Eric Snow ericsnowcurrently at gmail.com
Sat Feb 28 01:30:10 CET 2015


On Fri, Feb 27, 2015 at 12:26 PM, Brett Cannon <brett at python.org> wrote:
> On Fri, Feb 27, 2015 at 1:28 PM Barry Warsaw <barry at python.org> wrote:
>> I get it, and the examples you include in the open questions is helpful,
>> but I
>> still don't like "opt-".  We'll no doubt bikeshed on this until Guido
>> decides but looking at the examples below I'd be okay with 'O<level>'.
>> Did
>> you consider 'opt<level>', e.g. imporlib.cpython-35.opt0.pyc ?
>
>
> Nope, and I'll think about it and at least add it as a possibility.

Keep in mind that the optimization "level" isn't constrained to just digits:

imporlib.cpython-35.opt-b01603b27537a88c593d429923081a813f66eaef7360a5040507b90e85d285b0.pyc

vs.

imporlib.cpython-35.optb01603b27537a88c593d429923081a813f66eaef7360a5040507b90e85d285b0.pyc

I think the hyphen helps in that case.

-eric


More information about the Import-SIG mailing list