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 serhiy.storchaka
Recipients eric.snow, ncoghlan, serhiy.storchaka, vstinner
Date 2017-03-23.06:35:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490250904.94.0.373141473162.issue29881@psf.upfronthosting.co.za>
In-reply-to
Content
The patch contains an example of using _Py_STATICVAR(). But it doesn't use _PY_STATICVAR_INIT(). _PY_STATICVAR_INIT() can be used if extract the code of getting _array_reconstructor into separate function.

I like the idea in general, but I want to see more examples. Ideally -- the patch should use a new API for *all* static PyObject* variables. This will help to design good API.
History
Date User Action Args
2017-03-23 06:35:04serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner, eric.snow
2017-03-23 06:35:04serhiy.storchakasetmessageid: <1490250904.94.0.373141473162.issue29881@psf.upfronthosting.co.za>
2017-03-23 06:35:04serhiy.storchakalinkissue29881 messages
2017-03-23 06:35:04serhiy.storchakacreate