| 624 | |
| 625 | |
| 626 | class KeyStr(str): |
| 627 | def __hash__(self): |
| 628 | if HashKey._crasher is not None and HashKey._crasher.error_on_hash: |
| 629 | raise HashingError |
| 630 | return super().__hash__() |
| 631 | |
| 632 | def __eq__(self, other): |
| 633 | if HashKey._crasher is not None and HashKey._crasher.error_on_eq: |
| 634 | raise EqError |
| 635 | return super().__eq__(other) |
| 636 | |
| 637 | |
| 638 | class HaskKeyCrasher: |
no outgoing calls
searching dependent graphs…