[pypy-commit] [Git][pypy/pypy][branch/default] small fix: make the pattern 'string[0]' to convert a str to a char work also

2022-05-14 Thread Carl Friedrich Bolz-Tereick (@cfbolz)
Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy Commits: db59857d by Carl Friedrich Bolz-Tereick at 2022-05-14T12:42:33+02:00 small fix: make the pattern 'string[0]' to convert a str to a char work also when string is already a char (before it would convert the char

[pypy-commit] [Git][pypy/pypy][branch/default] 5 commits: use dict_to_switch to get rid of this constant dict

2022-05-14 Thread Carl Friedrich Bolz-Tereick (@cfbolz)
Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy Commits: af5e69b4 by Carl Friedrich Bolz-Tereick at 2022-05-13T21:43:30+02:00 use dict_to_switch to get rid of this constant dict (maybe there could be an rpython optimization for that too) - - - - - 1505badf by Carl F

[pypy-commit] [Git][pypy/pypy][branch/default] 3 commits: move dict_to_switch to objectmodel, use it in micronumpy

2022-05-14 Thread Carl Friedrich Bolz-Tereick (@cfbolz)
Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy Commits: ec2f5411 by Carl Friedrich Bolz-Tereick at 2022-05-14T13:22:44+02:00 move dict_to_switch to objectmodel, use it in micronumpy - - - - - 494e1594 by Carl Friedrich Bolz-Tereick at 2022-05-14T15:55:00+02:00 a few

[pypy-commit] [Git][pypy/pypy][branch/py3.8] 12 commits: don't use a dict for duplicate mode checking

2022-05-14 Thread Carl Friedrich Bolz-Tereick (@cfbolz)
Carl Friedrich Bolz-Tereick pushed to branch branch/py3.8 at PyPy / pypy Commits: 31c78115 by Carl Friedrich Bolz-Tereick at 2022-05-13T19:56:10+02:00 don't use a dict for duplicate mode checking (this is actually the only place in all of pypy that uses dicts of type char: None, so let's just

[pypy-commit] [Git][pypy/pypy][branch/default] 2 commits: more micronumpy dict fixes for some NumPy C-API implementation pieces

2022-05-14 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/default at PyPy / pypy Commits: 4cd8bdde by Matti Picus at 2022-05-14T22:55:16+03:00 more micronumpy dict fixes for some NumPy C-API implementation pieces - - - - - 72c282d1 by Matti Picus at 2022-05-14T23:11:08+03:00 test, fix PyDict_Contains (issue 3742)

[pypy-commit] [Git][pypy/pypy][branch/py3.8] 7 commits: move dict_to_switch to objectmodel, use it in micronumpy

2022-05-14 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/py3.8 at PyPy / pypy Commits: ec2f5411 by Carl Friedrich Bolz-Tereick at 2022-05-14T13:22:44+02:00 move dict_to_switch to objectmodel, use it in micronumpy - - - - - 494e1594 by Carl Friedrich Bolz-Tereick at 2022-05-14T15:55:00+02:00 a few more constant dic

[pypy-commit] [Git][pypy/pypy][branch/default] fix test

2022-05-14 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/default at PyPy / pypy Commits: 95349b79 by Matti Picus at 2022-05-15T07:35:22+03:00 fix test - - - - - 1 changed file: - pypy/module/cpyext/test/test_dictobject.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/commit/95349b7931d1ea20fa5e5

[pypy-commit] [Git][pypy/pypy][branch/py3.9] 36 commits: remove repeated live instructions

2022-05-14 Thread Matti Picus (@mattip)
Matti Picus pushed to branch branch/py3.9 at PyPy / pypy Commits: f17e5a60 by Carl Friedrich Bolz-Tereick at 2022-05-03T12:23:30+02:00 remove repeated live instructions --HG-- branch : liveness-as-instruction - - - - - fef49dd2 by Carl Friedrich Bolz-Tereick at 2022-05-03T21:34:22+02:00 switc