Message323669
| Author | berker.peksag |
|---|---|
| Recipients | berker.peksag, christian.heimes |
| Date | 2018-08-17.20:42:31 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1534538551.43.0.56676864532.issue24011@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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; |
|
| History | |||
|---|---|---|---|
| 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 | |