[Import-SIG] Optimization levels embedded in .pyo file names?

Eric Snow ericsnowcurrently at gmail.com
Sat Jan 31 01:03:32 CET 2015


On Fri, Jan 30, 2015 at 12:28 PM, Brett Cannon <bcannon at gmail.com> 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


More information about the Import-SIG mailing list