[issue35339] Populating instances of class automatically

Daugeras report at bugs.python.org
Wed Nov 28 16:45:02 EST 2018


Daugeras <emmanuel.daugeras at nextelyo.com> added the comment:

Hi Geoffrey,

Indeed you where right, this is not a bug.
The link you provided did solve my problem.
I declared classes with attributes as strings, lists, etc... and indeed it was the reason for the issue.
I changed it to instantiate the attributes in the __init__ method of the class, and it solved the problems.
Thanks again !!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35339>
_______________________________________


More information about the Python-bugs-list mailing list