Author petr.viktorin
Recipients petr.viktorin
Date 2019-09-11.14:01:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568210479.53.0.901531773072.issue38112@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-09-11 14:01:19petr.viktorinsetrecipients: + petr.viktorin
2019-09-11 14:01:19petr.viktorinsetmessageid: <1568210479.53.0.901531773072.issue38112@roundup.psfhosted.org>
2019-09-11 14:01:19petr.viktorinlinkissue38112 messages
2019-09-11 14:01:19petr.viktorincreate