Author vstinner
Recipients inada.naoki, larry, martin.panter, python-dev, serhiy.storchaka, skrah, vstinner
Date 2017-02-02.14:15:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486044921.82.0.388432675611.issue29300@psf.upfronthosting.co.za>
In-reply-to
Content
Stefan Krah: "PyBUF_SIMPLE implies C-contiguous for a conforming buffer provider."

Oh ok, thanks for the confirmation. So my change didn't add new checks and my commit message is wrong :-) Only non-conforming objects are impacted, but in such case, it's more a bug in the object than a bug in struct. I guess that non-conforming non-contiguous objects are very rare in the wild ;-)

The new code is more strict, so is safe in all corner cases.
History
Date User Action Args
2017-02-02 14:15:21vstinnersetrecipients: + vstinner, larry, inada.naoki, skrah, python-dev, martin.panter, serhiy.storchaka
2017-02-02 14:15:21vstinnersetmessageid: <1486044921.82.0.388432675611.issue29300@psf.upfronthosting.co.za>
2017-02-02 14:15:21vstinnerlinkissue29300 messages
2017-02-02 14:15:21vstinnercreate