-
Notifications
You must be signed in to change notification settings - Fork 184
Closed
Description
abbebf8 introduced a breaking change in Record:
Some (all?) operators are not overloaded on it anymore because they are looked up on the class rather than on the instance so __getattr__() doesnt forward them.
pre abbebf8:
>>> Record([("a", 1)])
(rec <unnamed> a)post abbebf8:
>>> Record([("a", 1)]) + 1
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'Record' and 'int'