Trent Mick <trentm@ActiveState.com>:
This patch correct bounds checking in PyLong_FromLongLong. Currently, it does not check properly for negative values when checking to see if the incoming value fits in a long or unsigned long. This results in possible silent truncation of the value for very large negative values.
F
Fred Drake committed
4c7fdfc35bb7c3123260bca00fe13bd0a1899faf
Parent: 8eded19