I'm trying to build a basic cmd-based command interpreter, and to that end I'm trying to get something to the effect of readline on windows (for autocomplete reasons), which is apparently difficult. Fair enough. I did some research and everyone seems to say to pip install pyreadline3, so I did that. And then proceeded to find out that doing so causes the readline.backend attribute to not exist, which causes Cmd.cmdloop to raise an error.
I'm mostly confused as to why pyreadline3 seems to not have this attribute. The builtin repl complains about readline.backend being missing, this can't have been an issue nobody noticed. Why is this problem a thing? And also, why does utterly nobody online seem to mention that it exists?
I'm currently monkeypatching the attribute in via
import readline
readline.backend = "readline"
```which _works_, but it also seems extremely evil and doesn't make me feel I understand why this is an issue in the first place