smarie opened this issue 4 years ago · 1 comments
This would be more consistent with autodict
autodict
This happens for example like this:
from autoclass import autoclass from pyfields import autofields @autoclass @autofields class Example(object): _priv = None pub = 0 o = Example() assert o == dict(pub=0)