[issue35123] Add style guide for sentinel usage

Eric V. Smith report at bugs.python.org
Wed Oct 31 07:33:17 EDT 2018


Eric V. Smith <eric at trueblade.com> added the comment:

Could you give some examples of problems caused by inconsistent usage of sentinels?

I do often wish modules exposed their sentinel values, since it makes writing wrappers easier. It's one of the reasons I ended up exposing dataclasses.MISSING.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35123>
_______________________________________


More information about the Python-bugs-list mailing list