[Python-ideas] Suggestion: Extend integers to include iNaN

Chris Angelico rosuav at gmail.com
Sun Sep 30 11:34:44 EDT 2018

On Mon, Oct 1, 2018 at 1:32 AM Steve Barnes <gadgetsteve at live.co.uk> wrote:
> No complex can be converted to float without accessing either the real
> or imag component.

Or taking its absolute value, which will return nan if either part is nan.


More information about the Python-ideas mailing list