diff options
author | Guido van Rossum <guido@python.org> | 2001-03-20 20:43:34 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-03-20 20:43:34 (GMT) |
commit | 6b767ac81aba6e51f9a84efe44d31a1db1e1edba (patch) | |
tree | c22c5455415a6f1e2b1b1757ac90aa271bd34ced /Python | |
parent | b845cb0946a278a1f4bf5710d471b90a18e688d5 (diff) | |
download | cpython-6b767ac81aba6e51f9a84efe44d31a1db1e1edba.zip cpython-6b767ac81aba6e51f9a84efe44d31a1db1e1edba.tar.gz cpython-6b767ac81aba6e51f9a84efe44d31a1db1e1edba.tar.bz2 |
Lawrence Hudson, SF #401702: Modify co_filename in frozen programs
This patch was developed primarily to reduce the size of the
frozen binary. It is particularly useful when freezing for 'small'
platforms, such as Palm OS, where you really want to save that
last miserable byte.
A limitation of this patch is that it does not provide any feedback
about the replacements being made. As the path matching
is case-sensitive this may lead to unexpected behaviour for DOS
and Windows people, eg
> freeze.py -r C:\Python\Lib\=py\ goats.py
should probably be:
> freeze.py -r c:\python\lib\=py\ goats.py
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions