New submission from klankschap <[email protected]>:

pypy fails to recognize a module with only .pyc files in it.

try this:

mkdir module
touch module/__init__.py
touch module/one.py
python -c "from module import one"
rm module/*.py
python -c "from module import one"
python -c "import module.one"

if you replace 'python' by 'pypy', it will fail as soon as the module folder 
only 
has *.pyc files in it.

Do you always need the .py files in the modules for pypy to run properly?

.F

----------
messages: 5346
nosy: klankschap, pypy-issue
priority: critical
release: 2.0
status: unread
title: ImportError: No module named ...

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1401>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to