2to3 bug and question

Discussion in 'Python' started by Helmut Jarausch, Jun 23, 2008.

  1. 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
     
    Helmut Jarausch, Jun 23, 2008
    #1
    1. Advertising

  2. Helmut Jarausch wrote:
    > Hi,
    >
    > is this the right group to ask / report problems with python3.0 ?


    While the general Python list is the right place to discuss bugs it's
    not sensible to report them here. Most Python core developers except
    Martin, me and a few more aren't reading this list at all. The bug
    tracker at http://bugs.python.org/ as a category for 2to3 bugs and
    feature requests.

    Grüße von der anderen Seite Aachens

    Christian
     
    Christian Heimes, Jun 23, 2008
    #2
    1. Advertising

  3. Helmut Jarausch

    Terry Reedy Guest

    Helmut Jarausch wrote:

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


    It is certainly a place. Given the number of bogus bug reports on
    bugs.python.org, asking here is often a good idea. In this and your
    other post, the problems you report look like probable bugs to me, so go
    ahead and report them on the bug list unless someone else has an
    explanation (within a day, say).

    2to3 had probably been less well tested and debugged than either of the
    new releases, so testing it now is helpful.

    tjr
     
    Terry Reedy, Jun 23, 2008
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Robin Becker

    2to3.py download

    Robin Becker, Feb 12, 2008, in forum: Python
    Replies:
    0
    Views:
    702
    Robin Becker
    Feb 12, 2008
  2. Guilherme Polo

    Re: 2to3.py download

    Guilherme Polo, Feb 12, 2008, in forum: Python
    Replies:
    0
    Views:
    1,005
    Guilherme Polo
    Feb 12, 2008
  3. Helmut Jarausch

    [2to3] Bug converting import

    Helmut Jarausch, Jun 23, 2008, in forum: Python
    Replies:
    1
    Views:
    256
    Christian Heimes
    Jun 23, 2008
  4. Replies:
    4
    Views:
    486
    Isaac Gouy
    Jan 2, 2009
  5. Gregory Ewing

    2to3 and maketrans

    Gregory Ewing, Mar 3, 2011, in forum: Python
    Replies:
    3
    Views:
    474
    Gregory Ewing
    Mar 6, 2011
Loading...

Share This Page