Python 2.6 URL handles (addinfourl) are not context managers

You get this exception,

AttributeError: addinfourl instance has no attribute '__enter__'

See http://bugs.python.org/issue12487