Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

I was wrong so removing the close call when io_refs gets to zero causes error 
on test_urllib2 [0] where close is asserted to be True and I only tested 
test_urllib initially. One another way would be to check for fp.closed in 
http.client before flushing but as mentioned before I am not sure of the 
attribute being always present and also to modify http.client code just for 



Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to