> The trouble is (and, sorry, this is getting beyond SQLAlchemy-
> specific), that leaves me without any good ideas for how to
> distinguish sequence types (lists, tuples, and user-defined objects
> resembling them) from mappings (dicts).
i usualy differ between sequences/generators and dicts by if they have 
or not iteritems() (or similar). The protocols are different enough, 
u can pick anything, e.g. has_key().

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
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