Message272919
| Author |
vstinner |
| Recipients |
belopolsky, gvanrossum, python-dev, rhettinger, serhiy.storchaka, skrah, vstinner |
| Date |
2016年08月17日.11:30:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1471433418.1.0.210774138923.issue26200@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Also, putting a function call inside a macro is a worrisome practice in C.
I conccur with Raymond: it can be very painful if you get a segfault on such line. What is crashing? The function call? DECREF? INCREF? something else?
It's also more painful to debug such code in gdb step by step.
I dislike py_setref_extra.patch. I prefer more verbose C code, easy to debug. |
|