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 chuyi
Recipients chuyi, paul.moore, steve.dower, tim.golden, zach.ware
Date 2019-10-15.07:36:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1571125000.71.0.339898408736.issue38481@roundup.psfhosted.org>
In-reply-to
Content
code:
------------------------------------------------------------------
    class D:
        num = 0
        
        def __init__(self):
            self.num += 1
            print('D num', self.num)

    for i in range(5):
        D()
---------------------------------------------------------------
console print:
---------------------------------------------------------------
Connected to pydev debugger (build 183.5429.31)
D num 1
D num 1
D num 1
D num 1
D num 1

Process finished with exit code 0
History
Date User Action Args
2019-10-15 07:36:40chuyisetrecipients: + chuyi, paul.moore, tim.golden, zach.ware, steve.dower
2019-10-15 07:36:40chuyisetmessageid: <1571125000.71.0.339898408736.issue38481@roundup.psfhosted.org>
2019-10-15 07:36:40chuyilinkissue38481 messages
2019-10-15 07:36:40chuyicreate