My editor warns me when I compare my_var == None, but no warning when I use my_var is None.
my_var == None
my_var is None
I did a test in the Python shell and determin
PEP 8 defines that it is better to use the is operator when comparing singletons.
is