Message192688
| Author |
vstinner |
| Recipients |
brian.curtin, christian.heimes, jeremy.kloth, jkloth, loewis, tim.golden, vstinner |
| Date |
2013年07月08日.19:23:29 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1373311410.1.0.807240571263.issue18407@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This issue duplicates the isuse #9566, but your patch is interesting. I created other more specific issues like #18295 and #18294.
- return lb - ll->ll_label;
+ return Py_SAFE_DOWNCAST(lb - ll->ll_label, Py_intptr_t, int);
I don't think that such change is correct, IMO the right fix is to change the result type to Py_intptr_t. |
|