CPython interns the integers between -5 and 256.
See https://stackoverflow.com/questions/306313/is-operator-behav... for some discussion and further related links.
See https://stackoverflow.com/questions/306313/is-operator-behav... for some discussion and further related links.
Otherwise you'll end up thinking that almost everything is simply an alias for constant True or 0 or Error, by popping in 0 to any operator you check.