This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients ezio.melotti
Date 2015-09-22.05:48:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1442900927.33.0.98928488186.issue25210@psf.upfronthosting.co.za>
In-reply-to
Content
do_richcompare() has a comment (at Objects/object.c:689) that reads:

/* XXX Special-case None so it doesn't show as NoneType() */

This refers to the following error message:

>>> 3 < None
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unorderable types: int() < NoneType()

This is a common error that comes up while ordering/sorting, and NoneType() is potentially confusing, so I find the request reasonable.
If the consensus is favourable, it should be implemented, if not, the comment should be removed.
History
Date User Action Args
2015-09-22 05:48:47ezio.melottisetrecipients: + ezio.melotti
2015-09-22 05:48:47ezio.melottisetmessageid: <1442900927.33.0.98928488186.issue25210@psf.upfronthosting.co.za>
2015-09-22 05:48:47ezio.melottilinkissue25210 messages
2015-09-22 05:48:46ezio.melotticreate