[issue14203] bytearray_getbuffer: unnecessary code

Stefan Krah report at bugs.python.org
Mon Mar 5 19:56:15 CET 2012


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

array_buffer_getbuf does a similar thing:

if (view==NULL) goto finish;

 finish:
    self->ob_exports++;   // ???
    return 0


Where does this view==NULL thing come from?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14203>
_______________________________________


More information about the Python-bugs-list mailing list