Cheryl Sabella <> added the comment:

Thanks, Nick.

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.

For example,
>>> 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 <>
Python-bugs-list mailing list

Reply via email to