Re: Optimization levels embedded in .pyo file names?
Eric Snow <[email protected]> Fri, 30 Jan 2015 17:03:32 -0700
| Newsgroups | gmane.comp.python.import |
|---|---|
| Message-ID | <CALFfu7D+PrZjhVkzqGqpRR+CUmVGxN6DUw5OBzU4UodxVC0=jw@mail.gmail.com> |
On Fri, Jan 30, 2015 at 12:28 PM, Brett Cannon <[email protected]> wrote: > And finally, if we make > importlib.cache_from_source() take an optional `optimization` argument then > people could even start specifying their own optimizations and have them > saved to their own .pyo files (with the caveat that some restrictions be > placed on the value, such as it has pass str.isalnum()). I like that! It would make it much easier to work on new optimizations. -eric