There's always:
#!/usr/bin/env python
too
#!/usr/bin/env python
too
#!/usr/bin/env python2 #!/usr/bin/env python3
Explicitly declaring the required version fixes that problem. In arch, most of the PKGBUILDs will have a line to sed the explicit line into the file in place of the generic python line.