Stefan Krah added the comment:

bytesiobuf_getbuffer() also still has this obsolete feature, so
BufferError should be raised if view==NULL.

I'm unsure if this plays well with the new SHARED_BUF(b) thing.

Should the exception be raised before or after?

----------
nosy: +serhiy.storchaka
title: bytearray_getbuffer: unnecessary code -> PEP-3118: remove obsolete 
write-locks

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14203>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to