You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add "Unreachable State" entry documenting some funny error messages
in CPython's Py_UNREACHABLE() macro, including the `RANDALL_WAS_HERE`
build flag referencing xkcd author Randall Munroe.
[^peg-parser]: See [this answer](https://stackoverflow.com/a/65487013/14362510)
230
256
[^breakfast-of-champions]: [Frozen modules](https://github.com/python/cpython/blob/main/Python/frozen.c) used for testing and is a reference to Monty Python's [SPAM sketch](https://cs.stanford.edu/people/eroberts/cs181/projects/spam/sketch.HTML)
257
+
[^unreachable-state]: `Py_UNREACHABLE()` is a macro in CPython's [Include/pymacro.h](https://github.com/python/cpython/blob/main/Include/pymacro.h#L243-L270) used to mark code paths that should never execute. The `RANDALL_WAS_HERE` build flag refers to Randall Munroe, the xkcd webcomic author. The error messages that should never be printed are a reference to this [xkcd comic](https://xkcd.com/2200).
0 commit comments