Menu

#5 Python 2.0 compatibility

closed-accepted
None
5
2001-10-05
2000-12-28
No

Python 2.0 has more parser symbols. One of these is "import ... as ....". I made it ignore the "as" part (you remember I am ignoring 'private' information. Actually, imports are quite an implementation detail worth ignoring itself....)

Discussion

  • Rob W.W. Hooft

    Rob W.W. Hooft - 2000-12-28

    None

     
  • Rob W.W. Hooft

    Rob W.W. Hooft - 2000-12-28

    "from x import y" needed changes as well.

     
  • Doug Hellmann

    Doug Hellmann - 2001-10-04
    • assigned_to: nobody --> doughellmann
     
  • Doug Hellmann

    Doug Hellmann - 2001-10-05

    Logged In: YES
    user_id=34486

    This patch was a bit out of date once I got to it, but the essence of the changes still apply.

     
  • Doug Hellmann

    Doug Hellmann - 2001-10-05
    • status: open --> closed-accepted
     

Log in to post a comment.