Message12492

Author jeff.allen
Recipients jamesmudd, jeff.allen
Date 2019-05-05.09:22:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557048168.01.0.746786830231.issue2768@roundup.psfhosted.org>
In-reply-to
Content
Already the subject of discussion on GitHub at https://github.com/jythontools/jython/pull/120 and https://github.com/jythontools/jython/pull/134.

Many other methods of bytearray already support buffers, but not the adds. Watch out for PyUnicode, which will throw a ClassCastException that should raise a TypeError.

We seem to agree with CPython that bufferprotocol + bytearray is an error.
History
Date User Action Args
2019-05-05 09:22:48jeff.allensetrecipients: + jeff.allen, jamesmudd
2019-05-05 09:22:48jeff.allensetmessageid: <1557048168.01.0.746786830231.issue2768@roundup.psfhosted.org>
2019-05-05 09:22:47jeff.allenlinkissue2768 messages
2019-05-05 09:22:47jeff.allencreate