Matti Picus pushed to branch branch/py3.7 at PyPy / pypy
Commits: 3788bc2a by Antonio Cuni at 2020-06-26T15:27:33+02:00 fix a bug which was introduced by 338b6c45ed55: if by change the GC runs in the middle of the for loop inside __len__, the callbacks are executed, the dictionary changes size and we get a RuntimeError. Fix it by ensuring that we collect all the values BEFORE entering the for loop --HG-- branch : py3.6 - - - - - c283afcd by Antonio Cuni at 2020-06-26T15:29:32+02:00 apply to WeakKeyDictionary the same fix that we applied to WeakValueDictionary in fffa07e525de --HG-- branch : py3.6 - - - - - d889b0da by Antonio Cuni at 2020-06-26T15:30:43+02:00 merge heads --HG-- branch : py3.6 - - - - - eea5d9ba by Matti Picus at 2020-06-26T16:50:48+03:00 PyTraceMalloc_* are now public --HG-- branch : py3.7 - - - - - fa9e427b by Matti Picus at 2020-06-26T16:51:05+03:00 maybe fix translation on macOS --HG-- branch : py3.7 - - - - - 9cf44427 by Matti Picus at 2020-06-26T16:51:26+03:00 Merge with py3.6 --HG-- branch : py3.7 - - - - - 6 changed files: - + extra_tests/test_weakref.py - lib-python/3/weakref.py - pypy/module/_socket/interp_socket.py - pypy/module/cpyext/api.py - pypy/module/cpyext/include/pymem.h - pypy/module/cpyext/src/pymem.c View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/808d64b34c02c568581e65ce3e779a4874ff50ac...9cf44427de0114b4b211b23c89ee3054b4888cc7 -- View it on GitLab: https://foss.heptapod.net/pypy/pypy/-/compare/808d64b34c02c568581e65ce3e779a4874ff50ac...9cf44427de0114b4b211b23c89ee3054b4888cc7 You're receiving this email because of your account on foss.heptapod.net.
_______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
