Eryk Sun added the comment:

AFAIK this only affects Windows. It looks like a relatively simple fix. In 
PyCArrayType_new, change the declaration of `length` to Py_ssize_t to match the 
definition StgDictObject.length; ensure the _length_ attribute is an index via 
PyIndex_Check instead of PyInt_Check; and call PyNumber_AsSsize_t instead of 
PyInt_AS_LONG.

----------
components: +Windows
nosy: +eryksun, paul.moore, tim.golden, zach.ware

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

Reply via email to