2to3 bug and question

Helmut Jarausch jarausch at igpm.rwth-aachen.de
Mon Jun 23 10:38:01 CEST 2008


Hi,

is this the right group to ask / report problems with python3.0 ?

The question:
Is it possible to tell 2to3 to replace, say,
#!/usr/bin/python

by

#!/usr/local/bin/python3.0

?

Here the bug:

While 2to3 keeps  the first line
#!/usr/bin/python

it removes the first line if it was

#!/usr/bin/python -O

Is this a bug or a feature?

Thanks for hint,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



More information about the Python-list mailing list