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 lkcl
Recipients lkcl
Date 2009-01-08.14:56:28
SpamBayes Score 0.00059398107
Marked as misclassified No
Message-id <>
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:30lkclsetrecipients: + lkcl
2009-01-08 14:56:30lkclsetmessageid: <>
2009-01-08 14:56:28lkcllinkissue4880 messages
2009-01-08 14:56:28lkclcreate