sshirokov/pydvice
View on GitHub ↗ ★ 8 Python
An attempt at "porting" Elisp's (defadvice) to Python.
3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2024-01-12 · latest 2024-01-14
20082026
-
Ah, it's allowed to mutate a function's `__code__` attribute: https://github.com/sshirokov/pydvice/blob/abfa0c5f1dc55780a8...
comment by olejorgenb · 2024-01-14 · in Pydvice: An attempt at bringing (defadvice) from Elisp to Python -
…get how they manage to hook into a function from the "outside"? EDIT: someone has ported it to 3: https://github.com/sshirokov/pydvice/pull/1
comment by olejorgenb · 2024-01-14 · in Pydvice: An attempt at bringing (defadvice) from Elisp to Python -
▲ 12
Pydvice: An attempt at bringing (defadvice) from Elisp to Pythonstory by xenophonf · 2024-01-12 · 5 comments