]> granicus.if.org Git - python/commit
bpo-31979: Simplify transforming decimals to ASCII (#4336)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 13 Nov 2017 19:23:48 +0000 (21:23 +0200)
committerGitHub <noreply@github.com>
Mon, 13 Nov 2017 19:23:48 +0000 (21:23 +0200)
commit9b6c60cbce4ac45e8ccd7934babff465e9769509
tree973d37d42dfe1ce66303ad0cf658bb20870aa88e
parentce12629c84400c52734859e43b2386deb2b6da12
bpo-31979: Simplify transforming decimals to ASCII (#4336)

in int(), float() and complex() parsers.

This also speeds up parsing non-ASCII numbers by around 20%.
Include/unicodeobject.h
Lib/test/test_float.py
Lib/test/test_unicode.py
Objects/complexobject.c
Objects/floatobject.c
Objects/longobject.c
Objects/unicodeobject.c