This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients brett.cannon, eric.snow, lemburg, ncoghlan
Date 2015-09-29.16:02:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443542563.0.0.915963711918.issue25268@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure which kind of use for frozen modules you have in mind.

The freeze tool allows you to replace paths in source path prefixes using the -r option. We use this in eGenix PyRun to set the prefix to "<pyrun>" since at run-time, the source files won't be available anyway and we want the users to see "this file is built into pyrun".

A traceback looks like this:
      ...
      File "<pyrun>/configparser.py", line 773, in get
      File "<pyrun>/configparser.py", line 374, in before_get
      File "<pyrun>/configparser.py", line 423, in _interpolate_some
    configparser.InterpolationSyntaxError: '%' must be followed by '%' or '(', found: '%12345'

which is quite readable, IMO.

Without -r, the original file path is added, so you must be looking at some other use case.
History
Date User Action Args
2015-09-29 16:02:43lemburgsetrecipients: + lemburg, brett.cannon, ncoghlan, eric.snow
2015-09-29 16:02:43lemburgsetmessageid: <1443542563.0.0.915963711918.issue25268@psf.upfronthosting.co.za>
2015-09-29 16:02:42lemburglinkissue25268 messages
2015-09-29 16:02:42lemburgcreate