Issue #1766304: The range.__contains__ optimization should only be
applied to ints, not to instances of subclasses of int.
2 files changed