[issue21016] trace: $prefix and $exec_prefix improperly replaced on Fedora

Ben Boeckel report at bugs.python.org
Thu Feb 13 02:52:10 EST 2020


Ben Boeckel <bugs.python at me.benboeckel.net> added the comment:

Thanks!

Should I file a new issue for the other (less urgent) problem mentioned at the bottom or is it not really worth fixing?

> It also erroneously replaces things like '$prefixpath'. It should probably do split the path on the path separators and only replace components that are equal to $prefix or $exec_prefix (so that the '$' can be escaped for directories named as such literally, but that would require a pass to parse the escapes).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue21016>
_______________________________________


More information about the Python-bugs-list mailing list