mosscliffe:
> if key in xrange (60,69) or key == 3:

I keep seeing again and again code like this, mostly from people not
much expert of Python, but the PEP 260 shows the fast in was removed,
so it's O(n). Maybe removing the fast __contains__ was bad for
necomers (or just the casual Python users, that I belive is really
large).

Bye,
bearophile

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to