New submission from Petr Viktorin <encu...@gmail.com>:

Hello,
In Fedora, we've long used a Bash script to compile modules to bytecode, as the 
compileall module was historically unsuitable.
Recently, Lumír re-wrote our enhancements to compileall, and published the 
result as compileall2 on PyPI. We'd like to get the improvements back into the 
standard library so everyone can benefit.
The improvements are:

- Raise the default recursion limit 
- Control of the path baked into the *.pyc file (`-s` to strip a prefix; `-p` 
to prepend a new one) to support different build/install locations.
- Compiling for multiple optimization levels at once (by specifying -o multiple 
times)

A PR should follow shortly.

----------
components: Installation
messages: 351887
nosy: petr.viktorin
priority: normal
severity: normal
status: open
title: Compileall improvements

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to