[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread ivank
New submission from ivank i...@ludios.org: Python 2.7, svn r76655. I ran the tests with python2.7 Lib/test/testall.py test-results.txt test_linecache test_checkcache (test.test_linecache.LineCacheTests) ... ERROR test_clearcache (test.test_linecache.LineCacheTests) ... ok test_getline

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread ivank
ivank i...@ludios.org added the comment: This error is just masking a Permission denied error during source = open(source_name, 'w') so I guess it's not very important, just annoying. -- ___ Python tracker rep...@bugs.python.org

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - r.david.murray components: +Tests -Library (Lib) nosy: +r.david.murray priority: - low versions: +Python 2.6, Python 3.1 ___ Python tracker rep...@bugs.python.org

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Fixed in r76659, r76660, r76661, and r76662. I also changed the open to use 'with' so that errors raised by the open will not be masked. Flox, given how active you are being, you might enjoy joining us in #python-dev on freenode.