[issue5836] Clean up float parsing code for nans and infs

2009-04-27 Thread Mark Dickinson
Mark Dickinson added the comment: Done in r71967 (py3k), r71969 (trunk). -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue5836] Clean up float parsing code for nans and infs

2009-04-25 Thread Mark Dickinson
New submission from Mark Dickinson : The special-case code that parses infs and nans should be moved from Objects/floatobject.c to Python/pystrtod.c, so that it's available for other places that want to parse nans and infs. The fallback version of PyOS_ascii_strtod needs to recognize nans and i