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 larry, martin.panter, methane, python-dev, serhiy.storchaka, skrah, vstinner
Date 2017-02-02.14:15:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2017-02-02 14:15:21vstinnersetrecipients: + vstinner, larry, methane, skrah, python-dev, martin.panter, serhiy.storchaka
2017-02-02 14:15:21vstinnersetmessageid: <>
2017-02-02 14:15:21vstinnerlinkissue29300 messages
2017-02-02 14:15:21vstinnercreate