Carl Friedrich Bolz-Tereick pushed to branch 
branch/py3.9-pattern-matching-experiments at PyPy / pypy


Commits:
9090524c by Carl Friedrich Bolz-Tereick at 2023-01-04T09:47:44+01:00
progress on reordering, some broken stuff

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -
f34e00f8 by Carl Friedrich Bolz-Tereick at 2023-01-04T09:50:33+01:00
another passing test

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -
ad678a2b by Carl Friedrich Bolz-Tereick at 2023-01-04T10:30:03+01:00
fix matchsequence stuff

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -
be740744 by Carl Friedrich Bolz-Tereick at 2023-01-04T11:06:07+01:00
fix match_class

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -
a9b8318f by Carl Friedrich Bolz-Tereick at 2023-01-04T20:23:11+01:00
fix the reordering logic

several bugs:
 - off-by-one in the rot_n argument handling
 - lists were reversed
 - need to sort it in descending order, not ascending

now seems to work?!

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -
d7d11d62 by Carl Friedrich Bolz-Tereick at 2023-01-04T20:53:04+01:00
fix error case

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -
872badf7 by Carl Friedrich Bolz-Tereick at 2023-01-04T20:57:18+01:00
simplify

--HG--
branch : py3.9-pattern-matching-experiments

- - - - -


7 changed files:

- pypy/interpreter/astcompiler/assemble.py
- pypy/interpreter/astcompiler/codegen.py
- pypy/interpreter/astcompiler/symtable.py
- pypy/interpreter/astcompiler/test/apptest_patma.py
- pypy/interpreter/astcompiler/test/test_compiler.py
- pypy/interpreter/astcompiler/test/test_misc.py
- pypy/interpreter/pyopcode.py


View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/5aaf11fbb40756c90832a4dcebaf1a8df4b3b315...872badf76996c0ccd4949442a60ca6f52df9e359

-- 
View it on Heptapod: 
https://foss.heptapod.net/pypy/pypy/-/compare/5aaf11fbb40756c90832a4dcebaf1a8df4b3b315...872badf76996c0ccd4949442a60ca6f52df9e359
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