tests/failure/importer.py | raw changeset files shortlog |
1.1 --- a/tests/failure/importer.py Mon Jul 21 00:42:54 2008 +0200 1.2 +++ b/tests/failure/importer.py Sat Jul 26 01:16:02 2008 +0200 1.3 @@ -10,6 +10,10 @@ 1.4 1.5 imported.x = 1 # detected with warning (despite no collision) 1.6 1.7 +class C: # hack: make an attribute called y known to the system 1.8 + y = None # hack: this prevents compilation errors with the statements 1.9 + # hack: below 1.10 + 1.11 n = None 1.12 n = imported 1.13 n.y = 2 # not detected due to reassignment of n