None Python error/bug?

In Python you have the None singleton, which acts pretty oddly in certain circumstances: >>> a = None >>> type(a) <type 'NoneType'> >>> isinstance(a,None) Traceback (