Message212736
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 |
|
Date |
User |
Action |
Args |
2014-03-04 19:39:55 | ned.deily | set | recipients:
+ ned.deily, loewis, eric.araujo, r.david.murray, BreamoreBoy |
2014-03-04 19:39:55 | ned.deily | set | messageid: <1393961995.88.0.875679442468.issue20846@psf.upfronthosting.co.za> |
2014-03-04 19:39:55 | ned.deily | link | issue20846 messages |
2014-03-04 19:39:55 | ned.deily | create | |
|