PEP 227 implementation

New tests cases for nested scopes.
2 files changed