From cf48c34a9315cf7a06f90361a4242871f252dc6f Mon Sep 17 00:00:00 2001 From: Ants Aasma Date: Wed, 11 Jul 2007 22:46:51 +0000 Subject: [PATCH] changed type engine default comparison from identity to equality --- lib/sqlalchemy/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sqlalchemy/types.py b/lib/sqlalchemy/types.py index d1ede61c50..07bc3c2507 100644 --- a/lib/sqlalchemy/types.py +++ b/lib/sqlalchemy/types.py @@ -27,7 +27,7 @@ class AbstractType(object): return value def compare_values(self, x, y): - return x is y + return x == y def is_mutable(self): return False -- 2.47.3