Author ncoghlan
Recipients brett.cannon, eric.snow, grahamd, ncoghlan, serhiy.storchaka, steve.dower
Date 2016-12-30.13:33:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483104826.87.0.574356250248.issue29102@psf.upfronthosting.co.za>
In-reply-to
Content
+1 from me for the general idea.

One subtlety with the draft implementation is that an Initialize/Finalize cycle doesn't reset the counter, which:

1. Increases the chance of counter overflow (while admittedly still leaving it incredibly low)
2. Means you still can't readily check whether the current interpreter is the main interpreter (i.e. the one created automatically in Py_Initialize)

What do you think about resetting the counter back to 1 in Py_Initialize?
History
Date User Action Args
2016-12-30 13:33:46ncoghlansetrecipients: + ncoghlan, brett.cannon, grahamd, eric.snow, serhiy.storchaka, steve.dower
2016-12-30 13:33:46ncoghlansetmessageid: <1483104826.87.0.574356250248.issue29102@psf.upfronthosting.co.za>
2016-12-30 13:33:46ncoghlanlinkissue29102 messages
2016-12-30 13:33:46ncoghlancreate