[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: Coerce to float for Float with all native decimal b
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2017-06-26 21:16:55
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/563180f7d46b/ Changeset: 563180f7d46b Branch: master User: zzzeek Date: 2017-06-26 20:50:24+00:00 Summary: Coerce to float for Float with all native decimal backends The result processor for the :class:`.Float` type now unconditionally runs values through the ``float()`` processor if the dialect specifies that it also supports "native decimal" mode. While most backends will deliver Python ``float`` objects for a floating point datatype, the MySQL backends in some cases lack the typing information in order to provide this and return ``Decimal`` unless the float conversion is done. Change-Id: I638f1480fb00a507036efaf0e0080f26893d98ad Fixes: #4020 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. |