Message247051
Minimal example:
import array
a = array.array("B")
a.fromstring(b'x'*0x10000)
a.fromstring(a)
a.fromstring(a)
In 3.x it doesn't work. An exception is raised:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
BufferError: cannot resize an array that is exporting buffers
I think it would be better to raise an exception in 2.7 too. |
|
Date |
User |
Action |
Args |
2015-07-21 19:28:59 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, JohnLeitch |
2015-07-21 19:28:59 | serhiy.storchaka | set | messageid: <1437506939.72.0.480666508648.issue24613@psf.upfronthosting.co.za> |
2015-07-21 19:28:59 | serhiy.storchaka | link | issue24613 messages |
2015-07-21 19:28:59 | serhiy.storchaka | create | |
|