#4 ViewList support for Python 2.3

closed-accepted
None
5
2003-01-01
2003-01-01
No

The ViewList.__getitem__() implementation expects it
can be called with a slice object as the index parameter,
but also expects that using the slice as an index into a
list will always raise TypeError; in Python 2.3, that's no
longer the case. The result is that a real list can be
returned when ViewList.__getitem__() expected to take
an alternate path.

This patch reduced the number of test failures under
Python 2.3 to 4, from some very high number I don't
recall.

Discussion

  • David Goodger

    David Goodger - 2003-01-01
    • assigned_to: nobody --> goodger
     
  • David Goodger

    David Goodger - 2003-01-01

    Logged In: YES
    user_id=7733

    No patch file attached. Try again please? Thanks.

     
  • Fred L. Drake, Jr.

    Logged In: YES
    user_id=3066

    Ok, I've checked the little box, filled in the file name, checked
    that it's right... here goes!

     
  • Fred L. Drake, Jr.

     
  • David Goodger

    David Goodger - 2003-01-01
    • status: open --> closed-accepted
     
  • David Goodger

    David Goodger - 2003-01-01

    Logged In: YES
    user_id=7733

    Applied & closed. Thanks again!

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks