Two lines of Python that segfault the interpreter – Timofei Ivankov

(deadlovelll.github.io)

12 points | by rbanffy a day ago ago

2 comments

  • monkpit 16 hours ago ago

    > ET_ADD trusted the compiler, and PEP 749 quietly handed user code a way to break that trust

    Sigh, and I quietly closed the article as it was quietly written by AI.

    That’s not just lazy — that’s uninteresting. And it’s more uninteresting than you think.

  • shakna 12 hours ago ago

    Hasn't Python always guaranteed messing with __annotations__ directly, as unsafe?

    This isn't some bug. It's documented behaviour.