[issue17575] HTTPConnection.send

2013-04-14 Thread dspub...@freemail.hu
dspub...@freemail.hu added the comment: Thank you Stephen.Tu for information. I think so, the "return" has been found ;-) -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue17575] HTTPConnection.send

2013-04-13 Thread Stephen Tu
Stephen Tu added the comment: I don't think this is a bug anymore in the codebase- looking at Lib/http/client.py, if hasattr(data, "read") is true, then the branch will return unconditionally. if hasattr(data, "read") : if self.debuglevel > 0: print("sendI

[issue17575] HTTPConnection.send

2013-03-29 Thread Chris Angelico
Changes by Chris Angelico : -- nosy: +Rosuav ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17575] HTTPConnection.send

2013-03-29 Thread dspub...@freemail.hu
New submission from dspub...@freemail.hu: http.client modul, HTTPConnection object, send method Missing an "else" for self.sock.sendall(data) try block. ... if hasattr(data, "read") : if self.debuglevel > 0: print("sendIng a read()able") encode = Fals