clarete/forbiddenfruit

MacOS errors monkeypatching `object`

mentalisttraceur opened this issue · 0 comments

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:

  1. cursing __add__ on object seemed to do nothing,

  2. after cursing __add__ on object, 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.