Ned Deily added the comment: Alas, I don't think there is a bug in the import machinery, either. Note that puttsx's __init__.py uses a pre-PEP 328 ambiguous relative import:
from engine import ... Even if there were no syntax errors, in Python 3 that would have to be spelled: from .engine import ... and making that change, engine is now found, syntax errors and all: >>> import pyttsx Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pyttsx/__init__.py", line 18, in <module> from .engine import Engine File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/pyttsx/engine.py", line 64 except Exception, e: ^ SyntaxError: invalid syntax ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com