Show HN: Magic Top Hat, an infinite library for Python (github.com)
Just for fun I wanted to write a library that generates the functions you import from it at runtime using the context in which you called them.
It's just a joke, but it proves what I was always afraid of: dunder methods are way too powerful and sometimes python seems to be broken because of it.
3 comments
[ 2.0 ms ] story [ 15.4 ms ] thread