summaryrefslogtreecommitdiffstats
path: root/Lib/symtable.py
Commit message (Collapse)AuthorAgeFilesLines
* revert 65897Benjamin Peterson2008-08-201-3/+3
|
* Merged revisions 65885,65892,65894,65898 via svnmerge fromBenjamin Peterson2008-08-201-6/+5
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65885 | benjamin.peterson | 2008-08-19 17:06:11 -0500 (Tue, 19 Aug 2008) | 1 line check that the parser module can handle the new keyword syntax ........ r65892 | benjamin.peterson | 2008-08-19 20:27:30 -0500 (Tue, 19 Aug 2008) | 1 line add a NEWS note for new args syntax ........ r65894 | benjamin.peterson | 2008-08-19 20:44:45 -0500 (Tue, 19 Aug 2008) | 2 lines newSymbolTable is not public API ........ r65898 | benjamin.peterson | 2008-08-19 21:15:42 -0500 (Tue, 19 Aug 2008) | 1 line fix silly errors of mine ........
* return sets instead of tuples from some symtable methodsBenjamin Peterson2008-08-201-3/+3
|
* kill the obsolete symtable.Symbol methodsBenjamin Peterson2008-08-201-10/+0
|
* Merged revisions 65715,65724,65726,65732,65736-65739,65775 via svnmerge fromBenjamin Peterson2008-08-171-28/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65715 | benjamin.peterson | 2008-08-16 16:04:16 -0500 (Sat, 16 Aug 2008) | 1 line add some documentation for symtable ........ r65724 | benjamin.peterson | 2008-08-16 17:11:33 -0500 (Sat, 16 Aug 2008) | 2 lines include filename and line number in SyntaxError ........ r65726 | georg.brandl | 2008-08-16 17:37:05 -0500 (Sat, 16 Aug 2008) | 2 lines Review symtable docs. ........ r65732 | benjamin.peterson | 2008-08-16 18:29:40 -0500 (Sat, 16 Aug 2008) | 1 line PySTEntry's constructor is static; there's no point in a fancy API name ........ r65736 | benjamin.peterson | 2008-08-16 20:09:17 -0500 (Sat, 16 Aug 2008) | 1 line expose PySTEntry.nested so the symtable module will work ........ r65737 | benjamin.peterson | 2008-08-16 20:17:15 -0500 (Sat, 16 Aug 2008) | 1 line a few improvements ........ r65738 | benjamin.peterson | 2008-08-16 20:27:30 -0500 (Sat, 16 Aug 2008) | 1 line fix compile errors ........ r65739 | benjamin.peterson | 2008-08-16 21:23:43 -0500 (Sat, 16 Aug 2008) | 1 line uhh PySTEntry->ste_unoptimized has to be exposed too ........ r65775 | benjamin.peterson | 2008-08-17 12:13:26 -0500 (Sun, 17 Aug 2008) | 5 lines get the symtable module back in working order - Fix broken functions - Add (hopefully) extensive tests - Modernize a little ........
* Raise statement normalization in Lib/.Collin Winter2007-08-301-1/+1
|
* - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone;Guido van Rossum2007-02-111-1/+1
| | | | | | | | | | and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help.
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-1/+1
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* This module was still referencing some dead EXEC related constants.Guido van Rossum2006-09-061-3/+3
|
* Get symtable to limp along, can run compiler/symbols.py. Not saying much, ↵Neal Norwitz2005-11-251-1/+4
| | | | needs more work.
* Replaced .keys() with dictionary iteratorsRaymond Hettinger2002-06-021-1/+1
|
* Convert a pile of obvious "yes/no" functions to return bool.Tim Peters2002-04-041-12/+6
|
* Remove now-unnecessary "from __future__ import nested_scopes" stmts.Tim Peters2001-07-121-1/+0
|
* Fix three PyChecker-detected gotchas.Jeremy Hylton2001-04-161-4/+10
| | | | | Import OPT_ symbols from _symtable. Define has_exec() and has_import_star().
* Whitespace normalization.Tim Peters2001-03-291-4/+4
|
* flesh out __all__Jeremy Hylton2001-03-231-14/+6
| | | | | | remove debugging code in if __debug__: add get_children() method on SymbolTable
* First cut at a high-level symbol table interfaceJeremy Hylton2001-03-221-0/+258