Every test gets added to scope. To test this use the debugger and set a break point on visit_Pass (the last line in the file)
Test/Correct/Compare.py
Handle the is and is not visits. They get special cased in the visit_Compare because they don't implement a magic method. And because all objs inherit from a base object they shouldn't hurt the type checking.
I looked it all over and it all makes sense and looks good to me. Merging it in, I'll merge master into my branch and check that this didn't break any of the indexing etc
Files Changed
Test/Correct/Collections.py
Test/Correct/Compare.py
src/NameSpaceBeans.py
Create:
src/TestAST.py
src/Walker.py
Added visits: