Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#5 Python 2.0 compatibility

closed-accepted
Doug Hellmann
None
5
2001-10-05
2000-12-28
Rob W.W. Hooft
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

     
    Attachments
  • 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