Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: Reviewing my own patch (range-sequence.diff), I've realized that it is being a bit too clever in handling x in range(..) where x is not an integer. It seems that upon a failed PyLong_Check, range_contains should just do a linear search. This is easy to implement, but I will wait for more feedback before posting further changes.
__________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2690> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com