[issue3506] Change buffer/memoryview DeprecationWarning

Brett Cannon report at bugs.python.org
Wed Aug 6 22:09:00 CEST 2008

Brett Cannon <brett at python.org> added the comment:

On Wed, Aug 6, 2008 at 12:32 PM, Antoine Pitrou <report at bugs.python.org> wrote:
> Antoine Pitrou <pitrou at free.fr> added the comment:
> I'm no buffer API/memoryview expert, but at least slicing is not
> implemented, and there are almost no unit tests. It can probably be
> used, but given the absence of tests and of actual uses in the stdlib,
> I'm not sure we can say it is robust and therefore promote it as
> replacement.

Well, if it can't replace buffer() then the warning needs to change to
just flat-out state that buffer() is gone and not suggest any

> Hopefully Travis will be able to enlighten us when he is back.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list