summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_symtable.py
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 70801,70809 via svnmerge fromJeremy Hylton2009-03-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70801 | jeremy.hylton | 2009-03-31 09:17:03 -0400 (Tue, 31 Mar 2009) | 3 lines Add is_declared_global() which distinguishes between implicit and explicit global variables. ........ r70809 | jeremy.hylton | 2009-03-31 09:48:15 -0400 (Tue, 31 Mar 2009) | 14 lines Global statements from one function leaked into parallel functions. Re http://bugs.python.org/issue4315 The symbol table used the same name dictionaries to recursively analyze each of its child blocks, even though the dictionaries are modified during analysis. The fix is to create new temporary dictionaries via the analyze_child_block(). The only information that needs to propagate back up is the names of the free variables. Add more comments and break out a helper function. This code doesn't get any easier to understand when you only look at it once a year. ........
* Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the ↵Nick Coghlan2008-09-111-6/+6
| | | | test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-7/+7
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* deprecate some useless, noop methods in symtableBenjamin Peterson2008-08-201-0/+16
|
* get the symtable module back in working orderBenjamin Peterson2008-08-171-20/+160
| | | | | | - Fix broken functions - Add (hopefully) extensive tests - Modernize a little
* Use unittest and make sure a few other cases don't crashNeal Norwitz2006-01-231-2/+23
|
* Test is still disabled, but access through public moduleNeal Norwitz2005-11-251-2/+2
|
* Disable some tests in anticipation of merging ast-branch to the headJeremy Hylton2005-10-201-13/+16
|
* SF patch 763201: handling of SyntaxErrors in symbol table buildJeremy Hylton2003-07-151-3/+15
| | | | Bug fix candidate.
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Whitespace normalization.Tim Peters2001-02-151-1/+0
|
* update to use new symtable interfaceJeremy Hylton2001-02-091-3/+4
|
* Add minimal interface to symtable: _symtable module.Jeremy Hylton2001-02-021-0/+8