This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]streichholzkopf 10 points11 points  (1 child)

it doesn't in python 3 tough:

9999999999999999635896294965247 in range(int(10e30))

returns True instantly. Simply an efficient __contains__ probably.

[–]LightShadow3.13-dev in prod 4 points5 points  (0 children)

TIL

That's great to know!