[issue5418] urllib.response.addinfourl does not support __exit__

2009-03-26 Thread Jeremy Hylton
Jeremy Hylton added the comment: Makes sense to me. Committed revision 70625. -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ _

[issue5418] urllib.response.addinfourl does not support __exit__

2009-03-26 Thread Jeremy Hylton
Changes by Jeremy Hylton : -- assignee: -> jhylton nosy: +jhylton resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list

[issue5418] urllib.response.addinfourl does not support __exit__

2009-03-04 Thread Mitchell Model
New submission from Mitchell Model : response = urllib.request.open(someURL) page = response.read() close() be called on response after the read(), right? Experimentation shows that I can repeatedly read from response until I close it, getting back empty bytes objects. Thinking that anyt