>>> import dabo
'/usr/lib/python2.4/site-packages/dabo' not versioned, and not exported


>>> print dabo.db.daboTypes
{'C': <type 'unicode'>, 'B': <type 'bool'>, 'D': <type 'datetime.date'>,
   'G': <type 'long'>, 'F': <type 'float'>, 'I': <type 'int'>, 'M': <type 'unicode'>,
   'L': <type 'str'>, 'N': <class 'decimal.Decimal'>, 'T': <type 'datetime.datetime'>}

>>> print dabo.db.pythonTypes
{<type 'unicode'>: 'C', <type 'bool'>: 'B', <type 'str'>: 'C', <class 'decimal.Decimal'>: 'N',
   <type 'float'>: 'F', <type 'int'>: 'I', <type 'datetime.date'>: 'D', <type 'long'>: 'G',
   <type 'datetime.datetime'>: 'T'}

dabo is using G for long.

there is no L in either of the list

Turns out some of the db modules use buffer, some use array.array, some use str to represent blobs. I just made "L" map to str, as Python's str object can handle any-length binary data just fine.