classification
Title: Clean up float parsing code for nans and infs
Type: Stage:
Components: Interpreter Core Versions: Python 3.1, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mark.dickinson Nosy List: eric.smith, mark.dickinson
Priority: normal Keywords:

Created on 2009-04-25 11:02 by mark.dickinson, last changed 2009-04-27 16:35 by mark.dickinson. This issue is now closed.

Messages (2)
msg86464 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-04-25 11:02
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 
infinities in a platform-independent manner.
msg86677 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2009-04-27 16:35
Done in r71967 (py3k), r71969 (trunk).
History
Date User Action Args
2009-04-27 16:35:30mark.dickinsonsetstatus: open -> closed
resolution: fixed
messages: + msg86677
2009-04-25 11:02:25mark.dickinsoncreate