homepage

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 pv
Recipients jcon, kermode, mark.dickinson, ncoghlan, petri.lehtinen, pitrou, pv, rupole, skrah, teoliphant, vstinner
Date 2011年07月05日.12:11:51
SpamBayes Score 2.7731485e-05
Marked as misclassified No
Message-id <1309867912.23.0.45707467607.issue10181@psf.upfronthosting.co.za>
In-reply-to
Content
The flags don't seem to be meant to describe the properties of the buffer, only what the exporter is required to fill in. STRIDES does not imply necessarily discontinuous, only that the `strides` field is present. The C_/F_/ANY_CONTIGUOUS flags imply that the memory layout of an n-dim array is C/Fortran/either contiguous. Why these flags imply STRIDES is probably to make the result unambiguous, and because typically when dealing with n-d arrays you usually need to know the strides anyway. `NULL` `strides` implies C-contiguous, so the CONTIG flag does not imply STRIDES (no idea why it's different from PyBUF_C_CONTIGUOUS).
History
Date User Action Args
2011年07月05日 12:11:52pvsetrecipients: + pv, teoliphant, mark.dickinson, ncoghlan, rupole, kermode, pitrou, vstinner, skrah, jcon, petri.lehtinen
2011年07月05日 12:11:52pvsetmessageid: <1309867912.23.0.45707467607.issue10181@psf.upfronthosting.co.za>
2011年07月05日 12:11:51pvlinkissue10181 messages
2011年07月05日 12:11:51pvcreate

AltStyle によって変換されたページ (->オリジナル) /