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


Commits:
85097e12 by Matti Picus at 2022-10-26T17:49:20+02:00
test, fix max_str_int for bigint -> str for cpython compatiblitly.

We may want to diverge from CPython and set separate str -> int and int 
-> str thresholds

--HG--
branch : max_int_threshold

- - - - -
0c0657ce by Matti Picus at 2022-10-27T03:34:52+02:00
push check for bigint max_str_digits into rstring

--HG--
branch : max_int_threshold

- - - - -
addc31b4 by Matti Picus at 2022-10-27T11:42:44+02:00
test, fix some edge cases

--HG--
branch : max_int_threshold

- - - - -
3ce12eb5 by Matti Picus at 2022-10-27T11:43:49+02:00
stdlib change: timing test is different on PyPy, 50,000 digits is too fast

--HG--
branch : max_int_threshold

- - - - -
6a2514bf by Matti Picus at 2022-10-27T13:26:10+02:00
test, fix edge case with leading '-' in bigint -> str

--HG--
branch : max_int_threshold

- - - - -


7 changed files:

- lib-python/3/test/test_int.py
- pypy/objspace/std/intobject.py
- pypy/objspace/std/longobject.py
- pypy/objspace/std/test/test_longobject.py
- rpython/rlib/rarithmetic.py
- rpython/rlib/rbigint.py
- rpython/rlib/rstring.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/c0982221708e36eeee0d03a8637e039fc417ad01...6a2514bfcf73e294adfa8182a1a4c7d47b49ca00
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