Python quirks: pre-declared constants like True, False, None behave inconsistently
A developer analysis highlights that Python's six built-in constants—True, False, None, __debug__, Ellipsis, and NotImplemented—are implemented in inconsistent ways under the hood. True, False, and None are hardcoded as lexer keywords rather than resolved through normal name lookup, while __debug__ is a regular identifier that uniquely cannot be assigned to, even as an attribute.