bobf is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

bobf / bpython http://bpython-interpreter.org/

Fancy curses interface to the Python interpreter

Clone this repository (size: 838.8 KB): HTTPS / SSH
hg clone https://bitbucket.org/bobf/bpython
hg clone ssh://hg@bitbucket.org/bobf/bpython

Issues

#197 find_modules crashes on non-readable directories

Reported by nuteater

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.

Status: resolved Responsible: Simon de Vlieger Type: bug Priority: minor
Milestone: none Component: none Version: none

Attachments

Comments and changes

  1. #1 Simon de Vlieger

    written

    • Changed responsible from nobody to ikanobori.

    Confirmed and will be patched :-)

  2. #2 Simon de Vlieger

    written

    • Changed status from new to open.
  3. #3 Andreas Stührk

    written

    Patch that fixes it.

  4. #4 Andreas Stührk

    written

    • Changed status from open to resolved.

    Fixed in 9a66800acb2a . Thanks for reporting!

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?