forbiddenfruit
forbiddenfruit copied to clipboard
MacOS errors monkeypatching `object`
I don't have a MacOS system to check anymore, but when I was last using a Mac at work, I tested some monkeypatching of object, and I noticed an interesting behavior:
-
cursing
__add__onobjectseemed to do nothing, -
after cursing
__add__onobject, I would pretty consistently see Python segfault soon after (I can't remember perfect reproduction steps, but I think if you just fiddle it'll eventually do it).
Both Python and MacOS were on the latest versions at the time, and this was around August 15th 2021.