mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-11 11:22:15 -04:00
311e142ea6
the :class:`.Numeric` and :class:`.Float` SQL types have been separated out so that :class:`.Float` no longer inherits from :class:`.Numeric`; instead, they both extend from a common mixin :class:`.NumericCommon`. This corrects for some architectural shortcomings where numeric and float types are typically separate, and establishes more consistency with :class:`.Integer` also being a distinct type. The change should not have any end-user implications except for code that may be using ``isinstance()`` to test for the :class:`.Numeric` datatype; third party dialects which rely upon specific implementation types for numeric and/or float may also require adjustment to maintain compatibility. Fixes: #5252 Change-Id: Iadc841340b3d97e3eb5f7e63f0a0cc3cb4e30f74