STINNER Victor added the comment:

> array's constructor interprets its second memoryview argument as an iterable 
> of integers.

Ok so, so your fix is correct.

> First patch fixes only a half of the issue. 
> test_unseekable_incompleted_write() still failed because array.fromfile() 
> fails read incomplete data.

Why the test succeeded on little endian?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19633>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to