- Internal: catch unhashable discriminators early (raise an error instead of
allowing them to find their way into resolveConflicts).
| | |
| | | Next release |
| | | ============ |
| | | |
| | | - Internal: catch unhashable discriminators early (raise an error instead of |
| | | allowing them to find their way into resolveConflicts). |
| | | |
| | | 1.2.7 (2012-01-20) |
| | | ================== |
| | | |
| | |
| | | ``order`` is a crude order control mechanism, only rarely used (has |
| | | no effect when autocommit is ``True``). |
| | | """ |
| | | # catch nonhashable discriminators here; most unit tests use |
| | | # autocommit=False, which won't catch unhashable discriminators |
| | | assert hash(discriminator) |
| | | |
| | | if kw is None: |
| | | kw = {} |
| | | |