Message323669
All of the PyModule_AddIntMacro() changes have already been applied in https://github.com/python/cpython/commit/6782b14bcba612e4a39e41992c77306217b91e30.
The remaining parts are:
- x = PyLong_FromLong((long)NSIG);
- if (!x || PyDict_SetItemString(d, "NSIG", x) < 0)
+ if (PyModule_AddIntMacro(m, NSIG))
goto finally;
- Py_DECREF(x);
---
- PyExc_IOError, NULL);
- if (ItimerError != NULL)
- PyDict_SetItemString(d, "ItimerError", ItimerError);
+ PyExc_IOError, NULL);
+ if (PyModule_AddObject(m, "ItimerError", ItimerError))
+ goto finally; |
|
Date |
User |
Action |
Args |
2018-08-17 20:42:31 | berker.peksag | set | recipients:
+ berker.peksag, christian.heimes |
2018-08-17 20:42:31 | berker.peksag | set | messageid: <1534538551.43.0.56676864532.issue24011@psf.upfronthosting.co.za> |
2018-08-17 20:42:31 | berker.peksag | link | issue24011 messages |
2018-08-17 20:42:31 | berker.peksag | create | |
|