[Sqlalchemy-commits] commit/sqlalchemy: zzzeek: - The precision used when coercing a returned float
Brought to you by:
zzzeek
From: Bitbucket <com...@bi...> - 2013-11-23 01:05:08
|
1 new commit in sqlalchemy: https://bitbucket.org/zzzeek/sqlalchemy/commits/6b79d2ea7951/ Changeset: 6b79d2ea7951 Branch: None User: zzzeek Date: 2013-11-23 02:04:19 Summary: - The precision used when coercing a returned floating point value to Python ``Decimal`` via string is now configurable. The flag ``decimal_return_scale`` is now supported by all :class:`.Numeric` and :class:`.Float` types, which will ensure this many digits are taken from the native floating point value when it is converted to string. If not present, the type will make use of the value of ``.scale``, if the type supports this setting and it is non-None. Otherwise the original default length of 10 is used. [ticket:2867] Affected #: 12 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. |