Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2024 (3)
20082026
  1. Ah, it's allowed to mutate a function's `__code__` attribute: https://github.com/sshirokov/pydvice/blob/abfa0c5f1dc55780a8...
  2. …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