Exterminate python
summary
A tiny Python package shows how to rewrite core behavior at runtime: pip install exterminate lets you rebind integer constants and even make pi = 3.2 to match the Indiana Pi bill, by patching builtins and number objects. Demo code changes 29 so that 28 + 1 becomes 100, silently breaks arithmetic, and appears irrecoverable in that session. Source and usage notes live at koala delaio/exterminate.
AI-written summary · about
chapters (3)
related talks
24mPython Peculiarities
20m`from __past__ import print_statement`: a Dadaist Rejection of Python 2 vs 3
31mPlaying with CPython Objects Internals
49mYou Used Python for What?!
01h 18mPython 103: Mmmm... Understanding Python's Memory Model, Mutability, and Methods
31mIntroducing Immortal Objects: Building Block Towards a Multi-core Python Runtime
26mPython Oddities Explained
01h 54mSo you want to be a Python expert?
