Commit Graph

15 Commits

Author SHA1 Message Date
Benjamin Peterson 552e7a7e2f return locals and cells in get_locals() not bound globals, though 2009-06-28 19:27:55 +00:00
Jeremy Hylton 1c157ea984 Add is_declared_global() which distinguishes between implicit and
explicit global variables.
2009-03-31 13:17:03 +00:00
Benjamin Peterson b3dd5485da remove deprecated symtable.Symbol methods 2009-02-26 19:07:18 +00:00
Benjamin Peterson e6b5ba621f fix silly errors of mine 2008-08-20 02:15:42 +00:00
Benjamin Peterson 86da890a9e newSymbolTable is not public API 2008-08-20 01:44:45 +00:00
Benjamin Peterson e977ad4d7b deprecate some useless, noop methods in symtable 2008-08-20 01:42:01 +00:00
Benjamin Peterson 7dd854725b get the symtable module back in working order
- Fix broken functions
- Add (hopefully) extensive tests
- Modernize a little
2008-08-17 17:13:26 +00:00
Neal Norwitz 21d19f7203 Get symtable to limp along, can run compiler/symbols.py. Not saying much, needs more work. 2005-11-25 03:14:00 +00:00
Raymond Hettinger e0d4972acc Replaced .keys() with dictionary iterators 2002-06-02 18:55:56 +00:00
Tim Peters bc0e910826 Convert a pile of obvious "yes/no" functions to return bool. 2002-04-04 22:55:58 +00:00
Tim Peters c4889c496a Remove now-unnecessary "from __future__ import nested_scopes" stmts. 2001-07-12 22:36:02 +00:00
Jeremy Hylton 5030cf1c2d Fix three PyChecker-detected gotchas.
Import OPT_ symbols from _symtable.
Define has_exec() and has_import_star().
2001-04-16 18:43:18 +00:00
Tim Peters a19a168ccc Whitespace normalization. 2001-03-29 04:36:09 +00:00
Jeremy Hylton 101651c128 flesh out __all__
remove debugging code in if __debug__:

add get_children() method on SymbolTable
2001-03-23 15:41:14 +00:00
Jeremy Hylton 816e149c85 First cut at a high-level symbol table interface 2001-03-22 23:32:22 +00:00