classification
Title: python shebang in python3 tarball files
Type: Stage: resolved
Components: Build Versions: Python 3.8
process
Status: closed Resolution: duplicate
Dependencies: Superseder: port shebang of tools from python2 to python3
View: 41626
Assigned To: Nosy List: arekm
Priority: normal Keywords:

Created on 2020-01-08 06:25 by arekm, last changed 2021-06-24 15:51 by iritkatriel. This issue is now closed.

Messages (2)
msg359567 - (view) Author: Arkadiusz Miśkiewicz (arekm) Date: 2020-01-08 06:25
Python 3.8.1 files:

        Lib/encodings/rot_13.py \
        Lib/lib2to3/tests/data/different_encoding.py \
        Lib/lib2to3/tests/data/false_encoding.py \
        Tools/gdb/libpython.py \
        Tools/pynche/pynche \
        Tools/pynche/pynche.pyw \
        Tools/scripts/2to3 \
        Tools/scripts/smelly.py \
        python-gdb.py

are calling python (which often points to python2) while should be calling python3 explicitly (unless python2 is required for using these which would be weird in Python 3 package)
msg359568 - (view) Author: Arkadiusz Miśkiewicz (arekm) Date: 2020-01-08 06:37
These look to be python2 files. Since python2 is close to EOL should these be ported to python3?

There are more of these in git:

        Lib/encodings/rot_13.py \
        Lib/lib2to3/tests/data/different_encoding.py \
        Lib/lib2to3/tests/data/false_encoding.py \
        Mac/BuildScript/build-installer.py \
        Modules/_sha3/cleanup.py \
        Objects/typeslots.py \
        Parser/asdl_c.py \
        Python/makeopcodetargets.py \
        Tools/gdb/libpython.py \
        Tools/pynche/pynche \
        Tools/pynche/pynche.pyw \
        Tools/scripts/2to3 \
        Tools/scripts/smelly.py
History
Date User Action Args
2021-06-24 15:51:47iritkatrielsetstatus: open -> closed
superseder: port shebang of tools from python2 to python3
resolution: duplicate
stage: resolved
2020-01-08 06:37:00arekmsetmessages: + msg359568
2020-01-08 06:25:14arekmcreate