datetime.datetime object as key in BTree
Bug #143766 reported by
Kim Nikolay
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
here example:
from datetime import datetime
from BTrees.OOBTree import OOBTree
tree = OOBTree()
tree[datetime.
tree[datetime.
tree.get(None, 'test3')
exceptions.
TypeError: can't compare datetime.datetime to NoneType
=======
but datetime.now() == None work
To post a comment you must log in.
Please include the *full* traceback