Matti Picus pushed to branch branch/py3.9 at PyPy / pypy
Commits: b172139f by Carl Friedrich Bolz-Tereick at 2022-10-11T10:29:44+02:00 small simplification - - - - - 216ff70e by Carl Friedrich Bolz-Tereick at 2022-10-12T22:05:00+02:00 ouch, the logic is inverted here: these should wait till timeout, not stop waiting immediately - - - - - c557c19d by Matti Picus at 2022-10-16T15:01:21+03:00 implement the int_max_str_digits handling from CPython PR 96503 - sys.get(State).w_int_max_str_digits is the value to be used in conversions - sys.int_info.default_max_str_digits and sys.int_info.str_digits_check_threshold are the compiled-in limits - sys.{sg}et_int_max_str_digits are interfaces to manage w_int_max_str_digits - sys.flags.int_max_str_digits is the startup value of w_int_max_str_digits - new command line -X int_max_str_digits=number and environment PYTHONINTMAXSTRDIGITS are use at startup to set sys.flags.int_max_str_digits and w_int_max_str_digits --HG-- branch : max_int_threshold - - - - - b5035ce4 by Carl Friedrich Bolz-Tereick at 2022-10-16T15:31:48+02:00 a failing unit test --HG-- branch : max_int_threshold - - - - - f20efbc6 by Matti Picus at 2022-10-16T17:51:23+03:00 fix default int_max_str_digits value and add a check to the test --HG-- branch : max_int_threshold - - - - - fac94bb8 by Matti Picus at 2022-10-18T00:38:11+03:00 rearrange code so int_max_str_digits works --HG-- branch : max_int_threshold - - - - - 3cb2e822 by Matti Picus at 2022-10-18T00:38:50+03:00 test, limit str -> int conversion to use int_max_str_digits --HG-- branch : max_int_threshold - - - - - 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 - - - - - d81440e9 by Carl Friedrich Bolz-Tereick at 2022-10-21T11:58:38+02:00 this test was broken by trace segmenting, the new behaviour is fine - - - - - 8446dfa2 by Carl Friedrich Bolz-Tereick at 2022-10-21T12:02:43+02:00 merge - - - - - 6e69759d by Matti Picus at 2022-10-21T16:22:48+03:00 add missing documentation of pypyjit module - - - - - 077dd15b by Matti Picus at 2022-10-22T21:56:48+03:00 move links from bitbucket to heptapod and from morepypy to pypy.org/blog - - - - - 8f36af76 by Matti Picus at 2022-10-22T22:10:14+03:00 expose a little explaination about the JIT decay parameter taken from decay_all_counters() in metainterp/counter.py - - - - - 91173edd by Matti Picus at 2022-10-22T22:22:44+03:00 fix sphinx formatting - - - - - c0982221 by Matti Picus at 2022-10-23T17:50:03+03:00 merge py3.8 --HG-- branch : max_int_threshold - - - - - d137501b by Carl Friedrich Bolz-Tereick at 2022-10-25T14:24:33+02:00 make it possible to change the REMEMBER_LIMIT - - - - - 67e60b38 by Carl Friedrich Bolz-Tereick at 2022-10-25T16:01:31+02:00 move max trace length checking to warmspot so we can make the limit dependent on the model - - - - - 92f1f683 by Carl Friedrich Bolz-Tereick at 2022-10-25T16:55:23+02:00 fix - - - - - 59dfc01f by Carl Friedrich Bolz-Tereick at 2022-10-25T22:08:40+02:00 make locals use an instance dict to be able to remove them commpletely/make the access efficient add a test_pypy_c test - - - - - 465d64f3 by Carl Friedrich Bolz-Tereick at 2022-10-25T22:10:07+02:00 merge default --HG-- branch : py3.8 - - - - - 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 - - - - - 353a7ae9 by Matti Picus at 2022-10-27T16:08:01+02:00 close branch to be merged --HG-- branch : max_int_threshold - - - - - 88c98ed4 by Matti Picus at 2022-10-27T16:09:46+02:00 merge max_int_threshold which mimics CPython's int/str size limits --HG-- branch : py3.8 - - - - - bb73ee84 by Matti Picus at 2022-10-27T16:18:45+02:00 backport changes to support max_str_digits - - - - - 41df9515 by Matti Picus at 2022-10-27T16:19:18+02:00 merge default --HG-- branch : py3.8 - - - - - 8a8ebd39 by Matti Picus at 2022-10-27T23:20:52+02:00 merge py3.8, and adapt changes to interpreer/astcompiler --HG-- branch : py3.9 - - - - - 60533283 by Matti Picus at 2022-10-27T23:22:46+02:00 merge heads --HG-- branch : py3.8 - - - - - 601d9afd by Matti Picus at 2022-10-27T23:23:43+02:00 merge py3.8 --HG-- branch : py3.9 - - - - - 30 changed files: - lib-python/3/test/test_int.py - pypy/doc/contributing.rst - pypy/doc/cpython_differences.rst - pypy/doc/eventhistory.rst - pypy/doc/extradoc.rst - pypy/doc/faq.rst - pypy/doc/jit-hooks.rst - pypy/doc/jit_help.rst - pypy/doc/objspace-proxies.rst - pypy/doc/project-ideas.rst - pypy/doc/sandbox.rst - pypy/interpreter/app_main.py - pypy/interpreter/astcompiler/astbuilder.py - pypy/interpreter/astcompiler/test/test_compiler.py - pypy/interpreter/pyframe.py - pypy/interpreter/pyparser/baserpypeg.py - pypy/interpreter/test/test_app_main.py - pypy/module/pypyjit/test_pypy_c/test_misc.py - pypy/module/sys/app.py - pypy/module/sys/moduledef.py - pypy/module/sys/state.py - pypy/module/sys/system.py - pypy/module/thread/test/test_thread.py - pypy/objspace/std/intobject.py - pypy/objspace/std/longobject.py - pypy/objspace/std/test/test_intobject.py - pypy/objspace/std/test/test_longobject.py - rpython/doc/architecture.rst - rpython/doc/faq.rst - rpython/doc/garbage_collection.rst View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/5f5cf035944b6ccee4e6f20e75133cf965439f8f...601d9afdb5781a4064ecbd410b64e3b967f1239e -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/5f5cf035944b6ccee4e6f20e75133cf965439f8f...601d9afdb5781a4064ecbd410b64e3b967f1239e 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