Message362131
> These should *not* be replaced:
>
> r"not/a/$prefix"
> r"$prefix spacevar/subdir"
Honestly, I don't see an issue to replace $prefix in these examples.
These examples seem artificial. The paths are not user provided: they are hardcoded paths from the sysconfig module:
if opts.ignore_dir:
_prefix = sysconfig.get_path("stdlib")
_exec_prefix = sysconfig.get_path("platstdlib")
I'm not even sure if it's worth it to fix this issue, it's unclear to me how you could get r"$prefixvar/subdir" from sysconfig.get_path("stdlib"). |
|
Date |
User |
Action |
Args |
2020-02-17 09:43:11 | vstinner | set | recipients:
+ vstinner, mathstuf |
2020-02-17 09:43:11 | vstinner | set | messageid: <1581932591.09.0.484523783044.issue39624@roundup.psfhosted.org> |
2020-02-17 09:43:11 | vstinner | link | issue39624 messages |
2020-02-17 09:43:10 | vstinner | create | |
|