Carl Friedrich Bolz-Tereick pushed to branch branch/py3.6 at PyPy / pypy

Commits:
3db6b2c0 by Carl Friedrich Bolz-Tereick at 2020-02-29T09:15:26+01:00
fix bug

- - - - -
96f76bfa by Carl Friedrich Bolz-Tereick at 2020-02-29T09:17:03+01:00
remove very convoluted _build_consts_array function

- - - - -
c32afba7 by Carl Friedrich Bolz-Tereick at 2020-02-29T23:07:21+01:00
fix bug in PyCode.__eq__: the compiler contains careful logic to make sure that
it doesn't unify things like 0.0 and -0.0 (they are equal, but the sign 
still
shouldn't be dropped). PyCode.__eq__ needs to use the same logic, move it to
PyCode.const_comparison_key and then use that from the bytecode compiler.

Also make explicit the decition that we never unify equal code objects in the
same surrounding code's co_consts. CPython does that but it's extremely 
limited
(only identical lambdas on the same line).

- - - - -
e934ccc1 by Carl Friedrich Bolz-Tereick at 2020-02-29T23:56:55+01:00
turns out some annoying person (hint: me) did the same fixes already only on
py3.6 in 438c53ddd510, without backporting them. Now do the backport.

- - - - -
56774fea by Carl Friedrich Bolz-Tereick at 2020-03-01T00:34:05+01:00
merge default

--HG--
branch : py3.6

- - - - -


5 changed files:

- pypy/interpreter/astcompiler/assemble.py
- pypy/interpreter/pycode.py
- pypy/interpreter/test/test_code.py
- pypy/interpreter/test/test_compiler.py
- pypy/objspace/std/bytesobject.py


View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/compare/f58026bf8c5db5aa59ef9b0ab3c50aee096e8dc6...56774feaaa9d7e09f5378fc94427fbc9a41d1b30

---
View it on GitLab: 
https://foss.heptapod.net/pypy/pypy/compare/f58026bf8c5db5aa59ef9b0ab3c50aee096e8dc6...56774feaaa9d7e09f5378fc94427fbc9a41d1b30
You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to