John Nagle <[email protected]> writes: > "AttributeError: addinfourl instance has no attribute '__exit__'". > > I thought that all the file-like objects supported "with" in 2.6. > No?
I guess not. Use contextlib.closing. -- http://mail.python.org/mailman/listinfo/python-list
