News for hackers. Stuff that matters.
Re:Weird Python Integers by supertramp_sid on Friday August 25, 2017 @02:24AM (#15096541)
a = 1000

b = 1000

a is b

The output is false only if you use the REPL. Run a .py script writing the above code and it returns True. I read about it on SO but can't find the link to it!

There are no comments on this comment yet.