Message12167
Jython array.array supports the buffer protocol experimentally. However, it only creates byte views of the data, which is incorrect (and has to be readonly) for anything that is not actually byte data.
Support for plain byte data is essentially the same as bytearray, and reliable. Beyond 'b', I suggest it should claim not to support the action.
This was observed first in https://github.com/jythontools/jython/pull/119, alongside a problem with unicode, but the offered solution there is not satisfactory for the array.array issue. |
|
Date |
User |
Action |
Args |
2018-11-03 11:57:09 | jeff.allen | set | recipients:
+ jeff.allen, rferguson@devendortech.com |
2018-11-03 11:57:09 | jeff.allen | set | messageid: <1541246229.31.0.788709270274.issue2715@psf.upfronthosting.co.za> |
2018-11-03 11:57:09 | jeff.allen | link | issue2715 messages |
2018-11-03 11:57:08 | jeff.allen | create | |
|