Treat an empty path like the CWD and work around a bug in Python's imp module.
Treat an empty path like the CWD and work around a bug in Python's imp module.

Unfortunately, "imp.find_module()" crashes when there is a directory
which ends with a Python extension. See http://bugs.python.org/issue7732

kdart/bpython,kdart/bpython,aktorion/bpython,wevial/bpython,wevial/bpython,aktorion/bpython