• Guido van Rossum's avatar
    Lawrence Hudson, SF #401702: Modify co_filename in frozen programs · 6b767ac8
    Guido van Rossum yazdı
      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
    6b767ac8
freeze.py 15.5 KB