Go to the source code of this file.
Function Documentation
System Message: SEVERE/4 (<string>
, line 1)
Missing matching underline for section title overline.
Implementing PEP 3118 is somewhat convoluted because of the desirata:
-
Don't add new members to ndarray or descr structs, to preserve binary compatibility. (Also, adding the items is actually not very useful, since mutability issues prevent an 1 to 1 relationship between arrays and buffer views.)
-
Don't use bf_releasebuffer, because it prevents PyArg_ParseTuple("s#", ... from working. Breaking this would cause several backward compatibility issues already on Python 2.6.
-
Behave correctly when array is reshaped in-place, or it's dtype is altered.
The solution taken below is to manually track memory allocated for Py_buffers. </blockquote>
System Message: WARNING/2 (<string>
, line 20) Block quote ends without a blank line; unexpected unindent.
System Message: ERROR/3 (<string>
, line 20) Document may not end with a transition.
System Message: SEVERE/4 (<string>
, line 1)
Incomplete section title.
Convert PEP 3118 format string to PyArray_Descr
Variable Documentation