Eric Smith wrote:
> This new behavior breaks my code, because I have something which is
> the equivalent of:
> 
> if isinstance(t, types.Integer):
>   v = int(val)
> elif isinstance(t, types.Numeric):
>   v = Decimal(val)

Oops, those should both be issubclass, not issinstance.

Eric.


--~--~---------~--~----~------------~-------~--~----~
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