This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eryksun
Recipients Bob, Christoph Sarnowski, Patrick Stewart, doko, eryksun, jpe, larry, mark.dickinson, mattip, meador.inge, paul.moore, python-dev, rkuska, steve.dower, tim.golden, tzickel, vinay.sajip, zach.ware
Date 2016-08-12.10:58:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470999509.64.0.712423035181.issue27743@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-08-12 10:58:29eryksunsetrecipients: + eryksun, jpe, doko, paul.moore, vinay.sajip, mark.dickinson, larry, tim.golden, meador.inge, python-dev, zach.ware, mattip, steve.dower, rkuska, Bob, tzickel, Christoph Sarnowski, Patrick Stewart
2016-08-12 10:58:29eryksunsetmessageid: <1470999509.64.0.712423035181.issue27743@psf.upfronthosting.co.za>
2016-08-12 10:58:29eryksunlinkissue27743 messages
2016-08-12 10:58:29eryksuncreate