On 2016-12-13 11:59, Kubilay Kocak wrote:
Note that they will be re-created on import unless one overrides the default for the interpreter to produce these optimization files.
Depends. Those modules are installed in a root owned directory, and the bytecode cache will get created only if you run (import is enough as you say) those modules as root, because the cache is written in the module package directory.
So pre-packaging the bytecode is a form of optimization, as the bytecode will be there when you run it as an unprivileged user.
-- Vlad K. _______________________________________________ freebsd-python@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"