Message290026
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. |
|
Date |
User |
Action |
Args |
2017-03-23 06:35:04 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, ncoghlan, vstinner, eric.snow |
2017-03-23 06:35:04 | serhiy.storchaka | set | messageid: <1490250904.94.0.373141473162.issue29881@psf.upfronthosting.co.za> |
2017-03-23 06:35:04 | serhiy.storchaka | link | issue29881 messages |
2017-03-23 06:35:04 | serhiy.storchaka | create | |
|