This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients benjamin.peterson, daniel.urban, jcon, nirai, pitrou, stutzbach, vstinner
Date 2011-05-10.11:01:50
SpamBayes Score 0.0072038826
Marked as misclassified No
Message-id <1305025315.24.0.0643058254635.issue9971@psf.upfronthosting.co.za>
In-reply-to
Content
+    Py_SAFE_DOWNCAST(READAHEAD(self), Py_off_t, Py_ssize_t)

Why downcasting the size? Can't you store the size into a Py_off_t? I suppose that sizeof(Py_off_t) >= sizeof(Py_ssize_t).
History
Date User Action Args
2011-05-10 11:01:55vstinnersetrecipients: + vstinner, pitrou, benjamin.peterson, stutzbach, nirai, daniel.urban, jcon
2011-05-10 11:01:55vstinnersetmessageid: <1305025315.24.0.0643058254635.issue9971@psf.upfronthosting.co.za>
2011-05-10 11:01:50vstinnerlinkissue9971 messages
2011-05-10 11:01:50vstinnercreate