# Revisiting PEP 505 – None-aware operators

**URL:** <https://discuss.python.org/t/revisiting-pep-505-none-aware-operators/74568>\
**Category:** PEPs\
**Created:** [December 17, 2024, 8:54pm UTC](https://discuss.python.org/t/revisiting-pep-505-none-aware-operators/74568 "2024-12-17T20:54:48Z")\
**Posts on this page:** 1\
**Showing post:** 286

<div class="post-metadata">

**Author:** ![guido](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/guido/32/21_2.png) [@guido](https://discuss.python.org/u/guido)\
**Post date:** [January 3, 2026, 10:57pm UTC](https://discuss.python.org/t/revisiting-pep-505-none-aware-operators/74568/286 "2026-01-03T22:57:55Z")

</div>

> [@beauxq](#):
>
> In TypeScript, the `?.` does not escape the parentheses.

My apologies! This is new info for me. (Apparently I never encountered this in TS or at least never thought about it. Or I just forgot this aspect since I last studied PEP 505?)

Fortunately Marc Mueller’s PEP describes this correctly – maybe not in the abstract (which only shows `a?.b`), but definitely in the spec: [PEP 999 – None-aware access operators | peps.python.org](https://cdce8p-python-peps--1.org.readthedocs.build/pep-0999/#short-circuiting)

If that’s the short-circuiting that was being discussed, I take back what I said about short-circuiting.

This is in fact an important issue and will probably complicate the grammar for `primary` in [10. Full Grammar specification — Python 3.14.2 documentation](https://docs.python.org/3/reference/grammar.html), since currently `primary` is left-recursive, parsing `a.b.c` as `(a.b).c`. Maybe we’ll have to use a star operator. I think Marc Mueller’s PEP doesn’t get this right yet – the grammar there ([PEP 999 – None-aware access operators | peps.python.org](https://cdce8p-python-peps--1.org.readthedocs.build/pep-0999/#grammar-changes)) still looks left-recursive.

---

_[View the full topic](https://discuss.python.org/t/revisiting-pep-505-none-aware-operators/74568)._
