sebsite personal blog
Python's pre-declared constants are kinda weird
python has 6 pre-declared "constants": True , False , None , __debug__ , Ellipsis (or equivalently ... ), and NotImplemented . but they all behave slightly differently, for some reason.
- Points
- 190
- HN comments
- 227
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringProgramming Languages2026
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Aug 25, 2026 | Python's pre-declared constants are kinda weird by rbanffy | 190 | 227 |