Matti Picus pushed to branch branch/max_int_threshold at PyPy / pypy


Commits:
8c96b277 by Matti Picus at 2022-10-18T22:04:16+03:00
fix failing test_linear_long_base_16

--HG--
branch : max_int_threshold

- - - - -
06d74063 by Matti Picus at 2022-10-18T22:53:50+03:00
test, fix more edge cases

--HG--
branch : max_int_threshold

- - - - -
f432b4f8 by Matti Picus at 2022-10-19T23:57:18+03:00
add a TODO

--HG--
branch : max_int_threshold

- - - - -
635de3f3 by Matti Picus at 2022-10-20T00:09:57+03:00
add a failing test, fix with a hack to do float/complex parsing directly and 
raise
if int parsing passes max_int

CPython uses strtol to check that all the characters are valid for int, here we
check for '.' or 'e', 'E'

--HG--
branch : max_int_threshold

- - - - -


4 changed files:

- pypy/interpreter/astcompiler/astbuilder.py
- pypy/interpreter/astcompiler/test/test_compiler.py
- pypy/objspace/std/intobject.py
- pypy/objspace/std/test/test_intobject.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3cb2e822487de74b7dc5609faf2d6ecce934dfff...635de3f3e78621143bcca400dcef3433182611f7

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/3cb2e822487de74b7dc5609faf2d6ecce934dfff...635de3f3e78621143bcca400dcef3433182611f7
You're receiving this email because of your account on foss.heptapod.net.


_______________________________________________
pypy-commit mailing list -- pypy-commit@python.org
To unsubscribe send an email to pypy-commit-le...@python.org
https://mail.python.org/mailman3/lists/pypy-commit.python.org/
Member address: arch...@mail-archive.com

Reply via email to