Author vstinner
Recipients mathstuf, vstinner
Date 2020-02-17.09:43:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581932591.09.0.484523783044.issue39624@roundup.psfhosted.org>
In-reply-to
Content
> 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").
History
Date User Action Args
2020-02-17 09:43:11vstinnersetrecipients: + vstinner, mathstuf
2020-02-17 09:43:11vstinnersetmessageid: <1581932591.09.0.484523783044.issue39624@roundup.psfhosted.org>
2020-02-17 09:43:11vstinnerlinkissue39624 messages
2020-02-17 09:43:10vstinnercreate