[issue38719] Surprising and possibly incorrect passing of InitVar to __post_init__ method of data classes
Eric V. Smith
report at bugs.python.org
Wed Nov 6 08:36:38 EST 2019
Eric V. Smith <eric at trueblade.com> added the comment:
I don't think that's necessary. We should just document that parameters are passed by name to __post_init__. This would have to be a 3.9 feature, since it's not strictly backward compatible.
----------
versions: +Python 3.9 -Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38719>
_______________________________________
More information about the Python-bugs-list
mailing list