[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Make boolean processors consistent between Py/C; co
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2016-06-24 00:21:08
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/7c74d702a963/ Changeset: 7c74d702a963 Branch: master User: zzzeek Date: 2016-06-23 23:58:43+00:00 Summary: Make boolean processors consistent between Py/C; coerce to 1/0 The processing performed by the :class:`.Boolean` datatype for backends that only feature integer types has been made consistent between the pure Python and C-extension versions, in that the C-extension version will accept any integer value from the database as a boolean, not just zero and one; additionally, non-boolean integer values being sent to the database are coerced to exactly zero or one, instead of being passed as the original integer value. Change-Id: I01e647547fd7047bd549dd70e1fa202c51e8328b Fixes: #3730 Affected #: 6 files Repository URL: https://bitbucket.org/zzzeek/sqlalchemy/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |