Author delhallt
Recipients delhallt
Date 2013-05-06.15:06:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367852817.71.0.664729704726.issue17919@psf.upfronthosting.co.za>
In-reply-to
Content
I encounted exactly the same issue http://bugs.python.org/issue923315 with test_asyncore, test_asynchat and test_poll.

On AIX6.1, POLLNVAL=0x8000=SHRT_MIN=SHRT_MAX+1 (on 2 bytes) and parsing events with PyArg_ParseTuple as a signed short 'h' do not work, i.e
"OverflowError: signed short integer is greater than maximum" occurs.

I changed 'h' to 'H' in the attached patch, and delete associated Overflow test.

Perhaps, they're a better way to handle that ?
History
Date User Action Args
2013-05-06 15:06:57delhalltsetrecipients: + delhallt
2013-05-06 15:06:57delhalltsetmessageid: <1367852817.71.0.664729704726.issue17919@psf.upfronthosting.co.za>
2013-05-06 15:06:57delhalltlinkissue17919 messages
2013-05-06 15:06:57delhalltcreate