dbflibmodule.c: dbfopen.c returns integers with width > 10 as FTDouble
to avoid overflow in C int. Also, all integers are read as doubles anyway
(dbfopen.c casts integers to int on the very last moment). Use
PyLong_FromDouble to convert all things with 0 decimals to long integers.
|