Message79411
there's probably a better way to do this (or a better reason), but
LONG_MIN and LONG_MAX end up as the wrong constant types when compiling
python2.5.2 under wine (don't ask...)
PyObject *
PyInt_FromSsize_t(Py_ssize_t ival)
{
if ((long)ival >= (long)LONG_MIN && (long)ival <= (long)LONG_MAX)
{
return PyInt_FromLong((long)ival);
}
return _PyLong_FromSsize_t(ival);
} |
|
Date |
User |
Action |
Args |
2009-01-08 14:56:30 | lkcl | set | recipients:
+ lkcl |
2009-01-08 14:56:30 | lkcl | set | messageid: <1231426590.2.0.669134378939.issue4880@psf.upfronthosting.co.za> |
2009-01-08 14:56:28 | lkcl | link | issue4880 messages |
2009-01-08 14:56:28 | lkcl | create | |
|