SMRTR ProgrammingAug 10, 2026Hacker News

Python's pre-declared constants are kinda weird

SMRTR summary

Python's six built-in constants behave inconsistently: True, False, and None are lexical tokens; __debug__ can't be reassigned; and Ellipsis and NotImplemented are regular builtins that can be shadowed.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming