numpy/numpy — pull request #3616 by seberg (2013-08-14 14:54:28+00:00)
Title: BUG: Fix PyBUF_SIMPLE flag to GetBuffer.

When no strides are requested, the array must be C-contiguous,
not only if a shape was also requested.

Closes gh-3613

-

The C-Code probably needs some style fixing, and now tha the function exists, more stuff should be tested probably. The Buffer always raises ValueErrors, however at least most of these should be BufferErrors.