Message286795
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:21 | vstinner | set | recipients:
+ vstinner, larry, methane, skrah, python-dev, martin.panter, serhiy.storchaka |
2017-02-02 14:15:21 | vstinner | set | messageid: <1486044921.82.0.388432675611.issue29300@psf.upfronthosting.co.za> |
2017-02-02 14:15:21 | vstinner | link | issue29300 messages |
2017-02-02 14:15:21 | vstinner | create | |
|