test_symtable failing on Linux

test_symtable is failing for me: % ./python ../Lib/test/test_symtable.py Traceback (most recent call last): File "../Lib/test/test_symtable.py", line 7, in ? verify(symbols[0].name == "global") TypeError: unsubscriptable object Just cvs up'd about ten minutes ago. Skip

This is a problem I don't know how to resolve; perhaps Andrew or Neil can. _symtablemodule.so depends on symtable.h, but setup.py doesn't know that. If you rebuild the .so, it should work. third-person-to-hit-this-problem-ly y'rs, Jeremy

Mayby this module shouldn't be built by setup.py; it could be added to Modules/Setup.dist (all the mechanism there still works, it just isn't used for most modules; but some are still there: posix, _sre). Then you can add a regular dependency for it to the regular Makefile. This is a weakness in general of setup.py, but rarely causes a problem because the standard Python headers are pretty stable. --Guido van Rossum (home page: http://www.python.org/~guido/)

This is a problem I don't know how to resolve; perhaps Andrew or Neil can. _symtablemodule.so depends on symtable.h, but setup.py doesn't know that. If you rebuild the .so, it should work. third-person-to-hit-this-problem-ly y'rs, Jeremy

Mayby this module shouldn't be built by setup.py; it could be added to Modules/Setup.dist (all the mechanism there still works, it just isn't used for most modules; but some are still there: posix, _sre). Then you can add a regular dependency for it to the regular Makefile. This is a weakness in general of setup.py, but rarely causes a problem because the standard Python headers are pretty stable. --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (3)
-
Guido van Rossum
-
Jeremy Hylton
-
Skip Montanaro