[pypy-issue] Issue #2037: Possible import problem (pypy/pypy)
issues-reply at bitbucket.org
Mon May 4 16:15:33 CEST 2015
New issue 2037: Possible import problem
I have a directory with two files and no `__init__.py`, `pmv` and `rename_by_title.py`. In `pmv`, I have:
from rename_by_title import *
When I call `pmv` using an absolute path using pypy like:
The import fails. On cpython 2.7.9, it succeeds.
Both sys.paths have '' in them and no other directory that should include my home directory (the other entries all point to /usr/). This is on an Ubuntu 15.04 system using packaged cpython and pypy from the PPA.
More information about the pypy-issue