Show HN: I added optional chaining to CPython
By grandimam · 2026-10-11 · 2 points · 0 comments
https://github.com/grandimam/cpython
I forked CPython to experiment with adding optional chaining (?.) directly to the language. For example: name = response?.customer?.name.lower() If response or customer is None, the expression short-circuits and evaluates to None. This isn't a library or a transpiler change, but…
Open the full discussion on BetterNews