New issue 2037: Possible import problem
https://bitbucket.org/pypy/pypy/issue/2037/possible-import-problem

ceridwenv:

 I have a directory with two files and no `__init__.py`, `pmv` and 
`rename_by_title.py`.  In `pmv`, I have:

```
#!bash

from rename_by_title import *
```

When I call `pmv` using an absolute path using pypy like:


```
#!bash

pypy ~/code/scripts/pdf_namer/pmv
```

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.


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to