I am working on a machine where the administrator has decided to remove read-permissions on some python module directories for some reason. This causes bpython to crash with OSError: Permission denied shortly after startup when find_modules in importcompletion.py tries to do a for name in os.listdir(path). A simple two-line check for readability should take care of this.
I am working on a machine where the administrator has decided to remove read-permissions on some python module directories for some reason. This causes bpython to crash with
OSError: Permission deniedshortly after startup whenfind_modulesin importcompletion.py tries to do afor name in os.listdir(path). A simple two-line check for readability should take care of this.