[arch-projects] [PATCH] [pyalpm] Don't assume long == int type

Rémy Oudompheng remyoudompheng at gmail.com
Sat Oct 15 05:27:08 EDT 2011

On Fri 14 October 2011 at 09:03, Dan McGee wrote:
> We had some bad casting going on here on 64-bit platforms, where the
> long type and int type are not the same. Add a static helper method to
> successfully coerce a PyObject into the C int type, checking for
> overflow along the way.
Applied both patches, thanks.


More information about the arch-projects mailing list