[docs] [issue12955] urllib2.build_opener().open() is not friendly to "with ... as:"
Senthil Kumaran
report at bugs.python.org
Fri Sep 16 19:42:35 CEST 2011
Senthil Kumaran <senthil at uthcode.com> added the comment:
Just as a quick guideline. If you are talking about context manager
support for urlopen, it is available and present in 3.x but not on
2.7. And I fear, it is late to make it available on 2.7, because it is
a feature.
In any case, as Terry requested, a simple snippet would help us
understand the problem and original poster's expectation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12955>
_______________________________________
More information about the docs
mailing list