Message286795
| 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 |
<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. |
|