Cheryl Sabella <chek...@gmail.com> 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
False
>>> 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>
<https://bugs.python.org/issue20632>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to