Reset errno before both calls to PyOS_ascii_strtod, not just one.
treefa08129d8bdd15a0bbe879fac47ef5d56592817a
-rw-r--r-- 673 .bzrignore
-rw-r--r-- 866 .hgignore
drwxr-xr-x - Demo
drwxr-xr-x - Doc
drwxr-xr-x - Grammar
drwxr-xr-x - Include
-rw-r--r-- 13925 LICENSE
drwxr-xr-x - Lib
drwxr-xr-x - Mac
-rw-r--r-- 39242 Makefile.pre.in
drwxr-xr-x - Misc
drwxr-xr-x - Modules
drwxr-xr-x - Objects
drwxr-xr-x - PC
drwxr-xr-x - PCbuild
drwxr-xr-x - Parser
drwxr-xr-x - Python
-rw-r--r-- 54385 README
drwxr-xr-x - RISCOS
drwxr-xr-x - Tools
-rwxr-xr-x 692963 configure
-rw-r--r-- 109108 configure.in
-rwxr-xr-x 7122 install-sh
-rw-r--r-- 31173 pyconfig.h.in
-rw-r--r-- 81518 setup.py