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 serhiy.storchaka
Recipients Peter Ebden, rhettinger, serhiy.storchaka
Date 2018-09-18.15:29:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537284584.35.0.956365154283.issue34722@psf.upfronthosting.co.za>
In-reply-to
Content
Not all types are orderable.

>>> sorted({'', None})
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'NoneType' and 'str'
History
Date User Action Args
2018-09-18 15:29:44serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, Peter Ebden
2018-09-18 15:29:44serhiy.storchakasetmessageid: <1537284584.35.0.956365154283.issue34722@psf.upfronthosting.co.za>
2018-09-18 15:29:44serhiy.storchakalinkissue34722 messages
2018-09-18 15:29:44serhiy.storchakacreate