[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Return given type when it matches the adaptation
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-06-26 17:45:38
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/fae82dda00aa/ Changeset: fae82dda00aa Branch: master User: zzzeek Date: 2017-06-26 16:46:53+00:00 Summary: Return given type when it matches the adaptation The rules for type coercion between :class:`.Numeric`, :class:`.Integer`, and date-related types now include additional logic that will attempt to preserve the settings of the incoming type on the "resolved" type. Currently the target for this is the ``asdecimal`` flag, so that a math operation between :class:`.Numeric` or :class:`.Float` and :class:`.Integer` will preserve the "asdecimal" flag as well as if the type should be the :class:`.Float` subclass. Change-Id: Idfaba17220d6db21ca1ca4dcb4c19834cd397817 Fixes: #4018 Affected #: 4 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. |