[issue25210] Special-case NoneType() in do_richcompare()

Serhiy Storchaka report at bugs.python.org
Thu Sep 24 16:24:54 CEST 2015


Serhiy Storchaka added the comment:

int < NoneType is not the same as int() < None.

----------
title: Fix do_richcompare() error message: remove parenthesis from type names -> Special-case NoneType() in do_richcompare()

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25210>
_______________________________________


More information about the Python-bugs-list mailing list