Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#326 1.2.4b5 variable not defined bug in converters due to import change from 1.2.3

MySQLdb-1.2
open
nobody
None
1
2012-10-22
2012-10-22
Rui Da Costa
No

there's a bug introduced in the betas for 1.2.4:
in converters.py L110 (in beta5):

hasattr(types, 'ObjectType')

results in global name 'types' is not defined

this does not work here as the import is:

from types import IntType, LongType ..., ObjectType, ...

but worked in 1.2.3 as it was just a simple: import types

Discussion