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

2020-02-13 Thread STINNER Victor
STINNER Victor added the comment: > 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 li

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

2020-02-12 Thread Ben Boeckel
Ben Boeckel 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 rep

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

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: Thanks Ben Boeckel for the bugfix. Sorry for the delay (6 years)! But it's now fixed in 3.7, 3.8 and master branches. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python track

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

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset ac6f4d2db703c0ff88e496bcb7b7fe55cf2ac458 by Miss Islington (bot) in branch '3.8': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/ac6f4d2db703c0ff88e496bcb7b7fe55cf2ac458 -- ___

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

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset ca133e53fafdec1aa77613fcb7558deed959383f by Miss Islington (bot) in branch '3.7': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/ca133e53fafdec1aa77613fcb7558deed959383f -- nosy: +miss-isli

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

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17855 pull_request: https://github.com/python/cpython/pull/18483 ___ Python tracker ___ __

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

2020-02-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset 4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd by Victor Stinner in branch 'master': bpo-21016: pydoc and trace use sysconfig (GH-18476) https://github.com/python/cpython/commit/4fac7ed43ebf1771a8fe86fdfe7b9991f3be78cd -- nosy: +vstinner __

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

2020-02-12 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +17845 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18476 ___ Python tracker ___ _

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

2014-03-21 Thread Ben Boeckel
New submission from Ben Boeckel: In the --ignore-dir handling of trace.py, the following is done: s = s.replace("$prefix", os.path.join(sys.base_prefix, "lib", "python" + sys.version[:3])) s