]> granicus.if.org Git - python/commit
Issue #1766304: The range.__contains__ optimization should only be
authorMark Dickinson <dickinsm@gmail.com>
Thu, 24 Sep 2009 20:04:23 +0000 (20:04 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 24 Sep 2009 20:04:23 +0000 (20:04 +0000)
commit418f81d9b65ca2c7942ff9c422ad01d5050a808f
treea2e1fabc0af6fad77c1142badf29227c0f9bdd43
parent067b38eed41bc659ab3d3f9d780a824ed5d1b857
Issue #1766304: The range.__contains__ optimization should only be
applied to ints, not to instances of subclasses of int.
Lib/test/test_range.py
Objects/rangeobject.c