[issue16904] Avoid unnecessary and possibly unsafe code from http.client.HTTPConnection.send

2013-01-09 Thread Attila Gerendi
New submission from Attila Gerendi: In http.client.HTTPConnection's send(data) method if data has attribute read after is handled correctly as file-like object and sent out successfully the code continues to what should be an else branch (~line 858) and tries to send out again the data. This

[issue16904] Avoid unnecessary and possibly unsafe code from http.client.HTTPConnection.send

2013-01-09 Thread Senthil Kumaran
Changes by Senthil Kumaran sent...@uthcode.com: -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16904 ___ ___ Python-bugs-list