Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!tundraware.eternal-september.org!.POSTED!not-for-mail From: Tim Daneliuk Newsgroups: comp.lang.python Subject: Re: Coming In Python 3.15: Sentinel Values Date: Mon, 11 May 2026 19:51:21 -0500 Organization: A noiseless patient Spider Lines: 20 Message-ID: <95aadm-t721.ln1@oceanview.tundraware.com> References: <10tr770$omms$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 12 May 2026 01:01:02 +0000 (UTC) Injection-Info: tundraware.eternal-september.org; logging-data="1661774"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uMfDQnKC1g7q7MWVpdNnVt+VJdYylQDA="; posting-host="dbc718cef053968c72beb73599a85e6d" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:vP2IbLaYISggSJ6nI2zskv8Qn9U= sha256:XBaOM7LOBja0PkpPCCiMFb7G+0wB433tDtF4SBkOWm4= sha1:ZM6H0MQrerk0NV+AeJu2qrgj0TU= Content-Language: en-US In-Reply-To: <10tr770$omms$1@dont-email.me> Xref: csiph.com comp.lang.python:197779 On 5/10/26 19:17, Lawrence D’Oliveiro wrote: > A new feature coming in Python 3.15 is the “sentinel” class, useful > for creating custom values to mark the end of sequences of items, that > kind of thing > , > . > > For those times when a simple “None” marker element is not sufficient, > this will be very convenient. Forgive me, but this smells of Feeping Creaturism to solve a not very important question at the expense crufting up the language and decreasing clarity. I have seen this happen with every single language I ever used except perhaps, assembler, C, and Forth. Oh well, there's an opportunity here for someone to excise the noisy PEPs and create Python Lite.