[Python-Dev] Undocumented view==NULL argument in PyObject_GetBuffer()

Nick Coghlan ncoghlan at gmail.com
Tue Mar 6 12:19:50 CET 2012


On Tue, Mar 6, 2012 at 8:34 PM, Stefan Krah <stefan at bytereef.org> wrote:
> The obvious question is: Will anyone need view==NULL in the future or
> can we remove the special case?

The public API will still need a guard (to report an error), but +1
for otherwise eliminating the undocumented special case.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list