Carl Friedrich Bolz-Tereick pushed to branch branch/default at PyPy / pypy
Commits: 0d4febeb by Carl Friedrich Bolz-Tereick at 2023-04-27T19:25:43+02:00 #3917: make list slicing robust against the __index__ operation of one of the slice's start/stop/step attributes modifying the list - - - - - 580c8db7 by Carl Friedrich Bolz-Tereick at 2023-04-27T20:13:26+02:00 make space.decode_index(4) use the __index__ special method, not __int__ - - - - - 68403027 by Carl Friedrich Bolz-Tereick at 2023-04-29T12:25:31+02:00 same for bytearray.__getitem__ - - - - - 05d34d41 by Carl Friedrich Bolz-Tereick at 2023-04-29T12:40:10+02:00 two more such bugs - - - - - db162bee by Carl Friedrich Bolz-Tereick at 2023-04-29T13:39:57+02:00 #3917 fix various cases where a mutating __index__ method could crash the interpreter - - - - - 21 changed files: - pypy/interpreter/baseobjspace.py - pypy/module/_collections/interp_deque.py - pypy/module/_collections/test/apptest_deque.py - pypy/module/array/interp_array.py - pypy/module/array/test/test_array.py - pypy/module/micronumpy/compile.py - pypy/module/micronumpy/flatiter.py - pypy/module/micronumpy/ndarray.py - pypy/module/micronumpy/strides.py - pypy/module/mmap/interp_mmap.py - pypy/module/mmap/test/test_mmap.py - pypy/objspace/fake/objspace.py - pypy/objspace/std/bufferobject.py - pypy/objspace/std/bytearrayobject.py - pypy/objspace/std/listobject.py - pypy/objspace/std/memoryobject.py - pypy/objspace/std/sliceobject.py - pypy/objspace/std/test/test_bytearrayobject.py - pypy/objspace/std/test/test_listobject.py - pypy/objspace/std/test/test_memoryobject.py - pypy/objspace/std/test/test_sliceobject.py View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c522970180ca8f5096ff888e4a5c986d8995450a...db162bee32c8ea58a310e8bf519e4c34b41392b0 -- View it on Heptapod: https://foss.heptapod.net/pypy/pypy/-/compare/c522970180ca8f5096ff888e4a5c986d8995450a...db162bee32c8ea58a310e8bf519e4c34b41392b0 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