This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ammar2
Recipients Arturo Inzunza, ammar2
Date 2018-12-08.00:43:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1544229801.09.0.788709270274.issue35439@psf.upfronthosting.co.za>
In-reply-to
Content
This is expected behavior, take a look at this section in the tutorial on classes: https://docs.python.org/3/tutorial/classes.html#class-and-instance-variables

Unlike say Java, member variables need to be initialized in the constructor.
History
Date User Action Args
2018-12-08 00:43:21ammar2setrecipients: + ammar2, Arturo Inzunza
2018-12-08 00:43:21ammar2setmessageid: <1544229801.09.0.788709270274.issue35439@psf.upfronthosting.co.za>
2018-12-08 00:43:20ammar2linkissue35439 messages
2018-12-08 00:43:20ammar2create