> I've found the symtable module, which is quite nice. Unfortunately, I > cannot find any documentation, and the module don't work as I expect: When I run my program, which uses the symtable module, on Python 2.3, I get: -:0: SyntaxWarning: import * only allowed at module level -:0: SyntaxWarning: import * only allowed at module level -:0: SyntaxWarning: import * only allowed at module level -:0: SyntaxWarning: import * only allowed at module level In a way this is not very surprising, since I call symtable with: symtable.symtable(source, "foo", "exec") This is a big problem for me, since I need to inspect symtables on a module level. Would it be possible to make it possible for symtable to operate in a module context? Or is it safe to ignore these warnings? -- /Peter Åstrand <astrand at lysator.liu.se>
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