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
-
▲ 2
Enable ++x and --x expressions in Pythonstory by yagudin · 2021-09-23 · 1 comment
-
…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 -
▲ 2
Bytecode hack that enables increment operators in Pythonstory by borzunov · 2021-09-18 · 0 comments
-
▲ 4
Show HN: Enable ++x and --x expressions in Pythonstory by borzunov · 2021-09-13 · 1 comment