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 eleven.xiang
Recipients eleven.xiang, vstinner
Date 2021-09-29.03:00:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632884402.06.0.636042013403.issue45308@roundup.psfhosted.org>
In-reply-to
Content
Below is the log:

// parent process call and increase it from 10 to 11.
process 71481, this = 0x7f4f271b5054, m_val = 10, A constructor called!!!
process 71481, this = 0x7f4f271b5054, m_val = 11, INC called!!!

// child process inherit with 11, and then also increase from 11 to 12
process 71482, this = 0x7f4f271b5054, m_val = 12, INC called!!!

// child process free it.
process 71482, this = 0x7f4f271b5054, m_val = 12, A destructor called!!!
// parent process free it.
process 71481, this = 0x7f4f271b5054, m_val = 11, A destructor called!!!
History
Date User Action Args
2021-09-29 03:00:02eleven.xiangsetrecipients: + eleven.xiang, vstinner
2021-09-29 03:00:02eleven.xiangsetmessageid: <1632884402.06.0.636042013403.issue45308@roundup.psfhosted.org>
2021-09-29 03:00:02eleven.xianglinkissue45308 messages
2021-09-29 03:00:01eleven.xiangcreate