[issue16865] ctypes arrays >=2GB in length causes exception

David Heffernan report at bugs.python.org
Wed May 10 09:31:13 EDT 2017


David Heffernan added the comment:

Erik,

As you can no doubt guess, this is related to the questions I have been asking on SO that you have so expertly been answering. Thank you!

When I solved the latest problem, getting at the internal buffer of a bytearray, I used the code in my previous comment, which came from a comment (now deleted) of yours to the question.

Looking at this more closely I realise that, as you said in your answer, the array length is not important for my specific needs, to it is fine to use zero. That side steps this issue completely. Thanks again.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16865>
_______________________________________


More information about the Python-bugs-list mailing list