Message141192
select.kevent(bignum, 1, 2, 3, sys.maxsize, bignum) raises a OverflowError('signed integer is greater than maximum') on a 64 bits system. select.kevent() constructor parses the 4th argument using "i" (an int): sys.maxsize doesn't fit in a C int on a 64 bits system.
kevent() constructor parses the 4th argument using "i", but it pass a pointer to a void* value (e->udata). It would be better to use a temporary C int variable, and then write the int into udata using the right cast. |
|
Date |
User |
Action |
Args |
2011-07-26 23:01:55 | vstinner | set | recipients:
+ vstinner, nicm, neologix, rpointel, Federico.Schwindt |
2011-07-26 23:01:54 | vstinner | set | messageid: <1311721314.96.0.879822420873.issue12181@psf.upfronthosting.co.za> |
2011-07-26 23:01:54 | vstinner | link | issue12181 messages |
2011-07-26 23:01:54 | vstinner | create | |
|