Amaury Forgeot d Arc added the comment:
Yes, this is a deliberate feature of pypy:
http://doc.pypy.org/en/latest/config/objspace.lonepycfiles.html
"""
[importing lone .pyc files] is a common cause of issues: most typically, the
x.py file is removed
(manually or by a version control system) but
New submission from klankschap :
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 'p