◐ Shell
clean mode source ↗

Message 188524 - Python tracker

> The attached fixes the issue for me.  I'm not sure whether the try /
> except should only be done on Apple, though.  What's the behaviour
> on Linux if there's no .inputrc file?

Everything works fine under Linux (as usual :-)).
There's no need to restrict the try / except to Apple platforms, though.