[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread R. David Murray
R. David Murray 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. -- resolution: -> f

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> r.david.murray components: +Tests -Library (Lib) nosy: +r.david.murray priority: -> low versions: +Python 2.6, Python 3.1 ___ Python tracker ___

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread flox
Changes by flox : -- versions: +Python 3.2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread flox
flox added the comment: Actually it should use the TESTFN filename which is always writable. Patch attached. -- keywords: +patch nosy: +flox Added file: http://bugs.python.org/file15448/issue7431.diff ___ Python tracker

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread ivank
ivank 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 ___

[issue7431] UnboundLocalError during test.test_linecache.LineCacheTests

2009-12-03 Thread ivank
New submission from ivank : 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 (test.test_linecache.Li