Miro Hrončok <m...@hroncok.cz> added the comment: At the very least, it's worth documenting in all places that can give you the exception, such as subprocess etc.
Whether it's worth to try to fix the exception message I don't really know. Confused users on one side, fragile complex heuristic on the other. Honestly, I think it is worth it to at least try to brainstorm how to improve the message without making it needlessly complicated. I've attempted that with: Either demo or interpreter of demo. It's not perfect and maybe another file is missing. So let's go further: FileNotFoundError: [Errno 2] No such file or directory while attempting to execute './demo'. This means './demo' or other files needed to run it don't exist. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43113> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com