Re: PEP for the removal of PYO files
Eric Snow <[email protected]> Fri, 27 Feb 2015 17:30:10 -0700
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CALFfu7D0ic7QPWH-s0RtQ5BZ3oEZnpATm52uvP5O8JRPF_RMnA@mail.gmail.com> |
On Fri, Feb 27, 2015 at 12:26 PM, Brett Cannon <[email protected]> wrote: > On Fri, Feb 27, 2015 at 1:28 PM Barry Warsaw <[email protected]> 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