Cheryl Sabella <chek...@gmail.com> added the comment:
When I first came across this issue, I thought that dataclasses would take care
of what you wrote below, but after looking at the original discussion on
python-dev, I thought the problem was ordering None within a comparison with
None being a valid value in SQLite.
>>> a = [1, None, 'a']
>>> b = [1, 5, 'b']
>>> a == b
>>> a < b
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: '<' not supported between instances of 'NoneType' and 'int'
Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list