tests/attr.c invokes attr.py via an explicit invocation of Python ($PYTHON) so there is therefore no need for an explicit shebang. Also most distros follow pep-0394 which recommends that /usr/bin/python refer only to v2 and so may not exist on the system (if PYTHON=python3).
Unified · Split
| @@ -1,4 +1,3 @@ | |||
| 1 | #! /usr/bin/python | ||
| 2 | # SPDX-License-Identifier: GPL-2.0 | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 3 | 2 | ||
| 4 | import os | 3 | import os |