Issue #26983: float() now always return an instance of exact float.
The deprecation warning is emitted if __float__ returns an instance of a strict subclass of float. In a future versions of Python this can be an error.
S
Serhiy Storchaka committed
16931c3559689cfa9d98e3b56e612b7e1e635b7a
Parent: bb7f732