[Python-Dev] 2.3.3 portability audit (original) (raw)

Tim Rice tim at multitalents.net
Wed Dec 17 23:43:45 EST 2003


A few things I found in the release23-maint branch.

python-2.3/src/Doc/tools/checkargs.pm:#!/uns/bin/perl probably a typo. ^^^

While most python scripts use #!/usr/bin/env python this one has #!/bin/env python-2.3/src/Lib/bsddb/dbshelve.py:#!/bin/env python

Most scripts that don't use #!/usr/bin/env python have #! /usr/local/bin/python These 5 have #!/usr/bin/python python-2.3/src/Lib/idlelib/idle:#!/usr/bin/python python-2.3/src/Lib/idlelib/idle.py:#!/usr/bin/python python-2.3/src/Lib/test/test_bz2.py:#!/usr/bin/python python-2.3/src/Lib/test/test_optparse.py:#!/usr/bin/python python-2.3/src/Mac/Contrib/Tabcleaner/Tabcleaner.py:#!/usr/bin/python Intentional?

python-2.3/src/Lib/test/test_largefile.py:#!python This may be intentional, I don't know.

python-2.3/src/Lib/test/test_pep263.py:#! -- coding: koi8-r -- Is this ! supposed to be there? ^ I think not. (could be wrong)

python-2.3/src/Doc/tools/makesec.sh:#!/bin/bash Bash doesn't come standard on all supported platforms. The only bashism I saw with a quick look was the last line. rm -f lib.{aux,log}

-- Tim Rice Multitalents (707) 887-1469 tim at multitalents.net



More information about the Python-Dev mailing list