-
-
Notifications
You must be signed in to change notification settings - Fork 660
Closed
Description
%python
class MyInt:
def __init__(self, n):
self.n = int(n)
def __int__(self):
return self.n
print range(MyInt(2**3), MyInt(2**3+10))
print "here"
print range(MyInt(2**34), MyInt(2**34+10))
Fixed by #9958.
Upstream: Fixed upstream, in a later stable release.
Component: packages: standard
Reviewer: Jason Grout
Issue created by migration from https://trac.sagemath.org/ticket/1159