another thing noted, the collections instrumentation fails over old 
python classes (not inheriting object), e.g. 
class myX: ...whatever...

it fails at _instrument_class(), because type(myX()) being 
<type 'instance'> is recognized as builtin, and apart of that the 
util.duck_type_collection() may fail because issubclass does not work 
just straighforward, e.g. must be 
    import types
    isa = isinstance(specimen, (type, types.ClassType)) and issubclass 
or isinstance

neither types.ClassType (type 'clasobj'> or the above mentioned 
<type 'instance'> are otherwise accesible as some predefined python 
type - but only as type(someclass) or type(someclass()).

ciao
svil

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to