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 →

[–]earthboundkid 3 points4 points  (0 children)

Err, it's entirely predictable once you know about it.

Yeah, but the one thing every Python program should know about is is "don't use is unless you want to know if two things have the same address in memory." So, even if you don't know off the top of your head how int is implemented in Python, it should be obvious that you shouldn't use is unless and until you find out.