borzunov/plusplus
View on GitHub ↗ ★ 94 Python
Enables increment operators in Python using a bytecode hack
4 mentions on Hacker News by 2 people: 3 stories, 1 comment · first 2021-09-13 · latest 2021-09-23
20082026
-
…that enables increment operators in Python by patching the bytecode for two unary plus/minus ops: https://github.com/borzunov/plusplus
comment by borzunov · 2021-09-21 · in A function decorator that rewrites the bytecode to enable goto in Python