Sridhar Ratnakumar sridh...@activestate.com added the comment:
Ok, I now have a fix for this issue. The reason for sizeof(c) being 4 bytes is
because it is defined as `register int` ... and yet `Py_CHARMASK` fails to
type-cast `c` to a `char` type, which is exactly what the attached patch
Sridhar Ratnakumar sridh...@activestate.com added the comment:
David, to answer your question How does it behave with the head of the current
2.6 maintenance branch, by the way?, since this bug appears to be in
Include/pyctype.h, which file was available only in 2.7+ and 3.x, I don't
believe