funsor
funsor copied to clipboard
Replace init-only metaclasses with __init_subclass__ method
~~Blocked by #370~~
There are a few places in Funsor where we use metaclasses that only implement an __init__
method, e.g. StatefulIntepretationMeta
added in #369. We should remove these at some point after Python 3.5 support is dropped and replace them with __init_subclass__
methods on the corresponding classes.
List of cases:
- [ ]
StatefulInterpretationMeta
- others?