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 vstinner
Recipients mathstuf, miss-islington, vstinner
Date 2020-02-13.08:35:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581582946.76.0.998743401211.issue21016@roundup.psfhosted.org>
In-reply-to
Content
> 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).

re.sub() can be used to leave $prefixpath unchanged. Yeah, please open a separed issue. Sorry, I missed this part of the bug report.
History
Date User Action Args
2020-02-13 08:35:46vstinnersetrecipients: + vstinner, mathstuf, miss-islington
2020-02-13 08:35:46vstinnersetmessageid: <1581582946.76.0.998743401211.issue21016@roundup.psfhosted.org>
2020-02-13 08:35:46vstinnerlinkissue21016 messages
2020-02-13 08:35:46vstinnercreate