clarete / forbiddenfruit

Patch built-in python objects
https://clarete.li/forbiddenfruit/
GNU General Public License v3.0
827 stars 52 forks source link

MacOS errors monkeypatching `object` #68

Open mentalisttraceur opened 2 years ago

mentalisttraceur commented 2 years ago

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.