Marc-Andre Lemburg added the comment:
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.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25268>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com