Built-in Types¶
Python Software Foundation. Built-in Types.
Cited by¶
1 citation across 1 artifact.
Each citation links to the sentence it supports in the citing article.
Mechanisms¶
- Sentinel Value Retirement
- Its strength is killing an entire family of silent-corruption bugs: the overloaded value that leaks into arithmetic, sorts, and comparisons as though it were real data — the same trap as a search routine returning `-1` for "not found" and a caller then indexing with it.
This sourcePython 3 Documentation (n.d.). Python str.find uses -1 for a missing substring, while negative indices address positions from the end of a sequence, creating a concrete unchecked-index hazard.
- Its strength is killing an entire family of silent-corruption bugs: the overloaded value that leaks into arithmetic, sorts, and comparisons as though it were real data — the same trap as a search routine returning `-1` for "not found" and a caller then indexing with it.
Verification¶
Does it exist? Not checked yet. This entry carries no identifier to resolve. It was extracted from the citation as written in the article, normalized, and deduplicated against the rest of the registry.
Does it back the claim? Not recorded. The single citation of this work carries no recorded support check.
Support is checked per citation rather than per work — the same source can be cited soundly in one article and wrongly in another. Per-citation recording began recently, so a citation with no recorded check is a gap in the record rather than evidence it went unchecked.
See how references were verified.
Registry ID ref:3da062e7d47d · see in the full table