Yes, I completely agree. If you want to teach the user the rules, then you follow the rules. The problem with the Python example is that they DID special-case it, but in an unhelpful way.
[0] https://github.com/Source-Python-Dev-Team/Source.Python/blob...
Is it too hard to write exit() or press Ctrl+D after having incorrectly entered exit?