> After building Python from CVS (it's been a while) I get this error: ^^^^^^^^^^^^^^^^^ This is key. > Python 2.3a0 (#43, Sep 16 2002, 22:47:33) > [GCC 2.95.2 19991024 (release)] on darwin > Type "help", "copyright", "credits" or "license" for more information. > >>> import fontTools > XXX lineno: 1, opcode: 127 > Traceback (most recent call last): > File "<stdin>", line 1, in ? > File "/Users/just/code/fonttools/Lib/fontTools/__init__.py", line 1, in ? > version = "2.0b2" > SystemError: unknown opcode > >>> > > Does this mean the .pyc magic number needs to be changed? Or is it > simply the risk of using CVS Python? ;-) The magic number was changed several times due to the SET_LINENO changes. At the end I changed it *back* to what we changed it to after another change earlier during the 2.3 cycle. You may be the only unlucky guy who missed both rounds of SET_LINENO changes. Remove all your .pyc/.pyo files and be done with it. --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4