Mark Dickinson added the comment:

What's `sys.float_repr_style` for this build?  For Python 3.5 and short float 
repr, `float('nan')` shouldn't even be using Py_NAN.  It should land in 
_Py_parse_inf_or_nan in pystrtod.c, which uses `_Py_dg_stdnan` to get the NaN 
value directly from a suitable bitpattern.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21167>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to