Message267072
Actually this bug report was opened because an implementation that lacked memoryview support was broken by 2.7. The point is to document that (a subset of) memoryview objects may be passed to custom implementations.
Does this need a “changed in 2.7” notice? I am not so familiar with the history of Python 2 or the various buffer APIs to be sure.
Also see <https://bugs.python.org/issue20699#msg266523>, where I discovered array('b') does not work with io.BytesIO.write(). It seems you have to wrap it in buffer() first, presumably because array() does not support the “new” protocol, but buffer() does. |
|
Date |
User |
Action |
Args |
2016-06-03 07:46:51 | martin.panter | set | recipients:
+ martin.panter, pitrou, benjamin.peterson, r.david.murray, docs@python, python-dev, serhiy.storchaka, Henning.von.Bargen |
2016-06-03 07:46:51 | martin.panter | set | messageid: <1464940011.11.0.454292635742.issue20699@psf.upfronthosting.co.za> |
2016-06-03 07:46:51 | martin.panter | link | issue20699 messages |
2016-06-03 07:46:50 | martin.panter | create | |
|