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 shihai1991
Recipients corona10, eric.araujo, ned.deily, petr.viktorin, shihai1991, terry.reedy
Date 2020-10-30.14:27:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604068039.11.0.0449076475161.issue41626@roundup.psfhosted.org>
In-reply-to
Content
Sorry for my delay~

>I think some of these work with any Python, but some need the locally built interpreter to give correct results.
>It could avoid confusion and mistakes to remove the shebangs and executable bits from the scripts that need a local Python, and make dure their documentation mentions `./python path/to/tool`.

I update Objects/typeslots.py in #PR21913 recently and using f-format in this script(it means that just local python or python3 can run). So I will accept your suggestion from this file after this PR merged:)

>(Oh and by the way, Tools/scripts/fixps.py is a tool to replace `/usr/local/bin/python` shebangs with `/usr/bin/env python`…  You can judge if that is useful and/or correct.)

Thanks, I will take a look.

> So if things are changed (let’s get a couple opinions here), maybe this needs separate PRs for 1/2/3, and make sure to get reviews to ensure we don’t break IDLE / Mac installers / pegen / etc.

Agree. To corner case, a single sepereate PR is good.
History
Date User Action Args
2020-10-30 14:27:19shihai1991setrecipients: + shihai1991, terry.reedy, ned.deily, eric.araujo, petr.viktorin, corona10
2020-10-30 14:27:19shihai1991setmessageid: <1604068039.11.0.0449076475161.issue41626@roundup.psfhosted.org>
2020-10-30 14:27:19shihai1991linkissue41626 messages
2020-10-30 14:27:18shihai1991create