<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Sentinel Values in Python: Why None Is Not Enough (sps26)</title>
        <link>https://tube.llpvr.ru/videos/watch/5f7f7b51-8034-4c85-b569-a76939c4c45b</link>
        <description>[LLPV-RSS:0951c49f6f83d0db0510060d7c159d2f04a33b94b94d744fef0c115b9af99532] Источник: https://media.ccc.de/v/sps26-110863-sentinel-values-in-python-w Every Python developer has used None as a default but what happens when None is also a valid value? This talk explores sentinel values as a first-class concept in Python. We'll uncover why None is semantically overloaded, how built-in sentinels like NotImplemented and ... (Ellipsis) quietly power Python's object model, and what happens when you try to create your own. The central challenge: Python's type system has no good answer for sentinel values. We'll walk through why Optional, Literal, and custom classes all fall short, look at real-world workarounds including Pydantic's experimental MISSING, and discuss what PEP 661's deferral means for your code today. You'll leave with a clear mental model and practical guidance for handling absence in typed Python. about this event: https://talks.python-summit.ch/swiss-python-summit-2026/talk/JHJ3XY/</description>
        <lastBuildDate>Tue, 17 Nov 2026 01:00:12 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>PeerTube - https://tube.llpvr.ru</generator>
        <image>
            <title>Sentinel Values in Python: Why None Is Not Enough (sps26)</title>
            <url>https://tube.llpvr.ru/client/assets/images/icons/icon-1500x1500.png</url>
            <link>https://tube.llpvr.ru/videos/watch/5f7f7b51-8034-4c85-b569-a76939c4c45b</link>
        </image>
        <copyright>All rights reserved, unless otherwise specified in the terms specified at https://tube.llpvr.ru/about and potential licenses granted by each content's rightholder.</copyright>
        <atom:link href="https://tube.llpvr.ru/feeds/video-comments.xml?videoId=5f7f7b51-8034-4c85-b569-a76939c4c45b" rel="self" type="application/rss+xml"/>
    </channel>
</rss>