The Problem with None: Sentinel Values and the Semantics of Absence - Florian Wilhelm @EuroPythonConference
The Problem with None: Sentinel Values and the Semantics of Absence - Florian Wilhelm  @EuroPythonConference
Uploaded August 2026 | Updated September 2026, 2 weeks ago
[EuroPython 2026 - S3B on 2026-07-17]
🎤 *The Problem with None: Sentinel Values and the Semantics of Absence by Florian Wilhelm*
🔗 https://ep2026.europython.eu/session/the-problem-with-none-sentinel-values-and-the-semantics-of-absence

📝 Abstract:
None is probably the most overloaded value in Python — and often the wrong one.

Python quietly depends on sentinel values: None, NotImplemented, Ellipsis, dataclasses.MISSING. They aren’t just placeholders. They define semantics, coordinate object interactions, and influence API design in subtle but powerful ways.

In this talk, we treat sentinel values as a deliberate design tool. We’ll uncover how NotImplemented enables double dispatch, why None frequently conflates “missing” with “empty,” and how sentinel patterns permeate the standard library.

But the real tension appears in typing. Python’s type system still cannot properly express sentinel semantics. Optional, overload, and Literal only approximate the problem, and building a fully typed custom sentinel remains an open challenge.

We’ll examine the deferred PEP 661, what it tried to solve, and what its absence means today. Expect practical patterns, real-world examples, and a sharper way to think about absence in Python.

---
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License: creativecommons.org/licenses/by-nc-sa/4.0
The Problem with None: Sentinel Values and the Semantics of Absence - Florian WilhelmEuroPython 2026 - CPython PanelWhat is this footgun called unittest.mock, and how to avoid misusing it - Claudiu BeluLearning from the not-so-secret Python security cabal - Seth Michael LarsonPlugins in python - how it is done - Grzegorz BokotaExplaining the 5 types of database and how to choose between them — TibsHow Does It Feel To Present Your Company At EuroPython — Michelle from ApifyBecome a Python Core Developer in 3 Easy Steps - Tomas RounEuroPython 2026 - Python Quiz 📝🏆🐍  15 EuroPythons Strong!Terraform CDK in Python: Where Infrastructure Meets Code — Yuliia BarabashShould you trust Trusted Publishing? - Nikita Karamov
EuroPython Conference |

The Problem with None: Sentinel Values and the Semantics of Absence - Florian Wilhelm

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER