smarie/python-autoclass

`autoclass` should remove private fields from the generated autodict representation by default

smarie opened this issue · 1 comments

This would be more consistent with 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)