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.
History
Date User Action Args
2013-07-08 19:23:30vstinnersetrecipients: + vstinner, loewis, christian.heimes, tim.golden, jkloth, brian.curtin, jeremy.kloth
2013-07-08 19:23:30vstinnersetmessageid: <1373311410.1.0.807240571263.issue18407@psf.upfronthosting.co.za>
2013-07-08 19:23:30vstinnerlinkissue18407 messages
2013-07-08 19:23:29vstinnercreate