# Introducing a Safe Navigation Operator in Python

**URL:** <https://discuss.python.org/t/introducing-a-safe-navigation-operator-in-python/35480>\
**Category:** Ideas\
**Created:** [October 6, 2023, 1:29am UTC](https://discuss.python.org/t/introducing-a-safe-navigation-operator-in-python/35480 "2023-10-06T01:29:01Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![jeanas](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/jeanas/32/8115_2.png) [@jeanas](https://discuss.python.org/u/jeanas)\
**Post date:** [October 6, 2023, 11:15am UTC](https://discuss.python.org/t/introducing-a-safe-navigation-operator-in-python/35480/7 "2023-10-06T11:15:17Z")

</div>

There has been quite a bit of more recent discussion.

> [@PEP 505: status?](https://discuss.python.org/t/pep-505-status/4612):
>
> I’m new here, but I did a search and wasn’t able to find anything in this forum on PEP 505 ([https://www.python.org/dev/peps/pep-0505/](https://www.python.org/dev/peps/pep-0505/)). Is this PEP dead? or just unloved? The page says “deferred” but it doesn’t explain why.

> [@Questions about \`?.\` syntax](https://discuss.python.org/t/questions-about-syntax/29993):
>
> (split from [PEP 505: status?](https://discuss.python.org/t/pep-505-status/4612)) These proposals look very interesting. As said above, ?. exists in many languages and it’s very useful. The ability to short-circuit property access if it does not exist would be useful in many cases. For instance def foo(logger: logging.Logger | None, \*\*kwargs): # bunch of stuff if logger is not None: logger.info("a bunch of stuff was done") # some other stuff if logger is not None: logger.info("some other stuff was done") Having…

> [@Add optional chaining of attributes](https://discuss.python.org/t/add-optional-chaining-of-attributes/27089/6):
>
> As PEP 505 suggests three new operators and that might be a bit much for a single PEP would it be better to create separate PEPs for null coalescing and null aware member access? Or if I move forward with this keep it in a single PEP for these two suggestions?

> [@Add None coalescing operator in Python](https://discuss.python.org/t/add-none-coalescing-operator-in-python/8292/2):
>
> Hi Kumar, There has been a PEP and a huge amount of discussion about this. Here are only a few of the threads discussing this idea. There are probably others. [https://mail.python.org/archives/list/python-ideas@python.org/thread/6NHOUO2IJ64E6XP6VA3QA7YYBEMBBUM3/](https://mail.python.org/archives/list/python-ideas@python.org/thread/6NHOUO2IJ64E6XP6VA3QA7YYBEMBBUM3/)[https://mail.python.org/pipermail/python-ideas/2015-September/036289.html](https://mail.python.org/pipermail/python-ideas/2015-September/036289.html)

> [@August Steering Council update](https://discuss.python.org/t/august-steering-council-update/11392):
>
> I’ve just published the August steering council update, also included below: August 2 The Steering Council met with the Developer-in-Residence (Łukasz Langa) to discuss progress. The group also discussed what the focus should be going forward and that strategic approaches need to be considered for PRs instead of individual review. The Steering Council and Ewa (current PSF Executive Director) discussed the lack of progress on the GitHub migration project. The contractor will be meeting …

---

_[View the full topic](https://discuss.python.org/t/introducing-a-safe-navigation-operator-in-python/35480)._
