[issue41626] port shebang of tools from python2 to python3
Ned Deily
report at bugs.python.org
Wed Oct 21 16:30:43 EDT 2020
Ned Deily <nad at python.org> added the comment:
To address some of the concerns:
- The shebang line in Mac/BuildScript/build-installer.py can be safely removed.
- "Lib/idlelib/pyshell.py for example, maybe the IDLE entry point is just a symlink to that file"
It's not, at least for unix-y builds. In [install-prefix], an "idle*" script is installed of the form:
#![install-prefix]/bin/python3.10
from idlelib.pyshell import main
if __name__ == '__main__':
main()
So there is an abolute link to the correct interpreter and shebang is not used.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41626>
_______________________________________
More information about the Python-bugs-list
mailing list