homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Tobias.Steinrücken
Recipients Tobias.Steinrücken
Date 2012年05月03日.10:31:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336041098.08.0.116585068152.issue14709@psf.upfronthosting.co.za>
In-reply-to
Content
It seems that http.client's send() function lacks an else/return statement in Line 772.
If this method is called with an read()able Object, it jumps into 
L 750: if hasattr( data,"read"):
processes this data correctly, but then falls through (due to missing else ) to
L 773: try:
L 774: self.socket.sendall(data)
where finally an TypeError raises.
History
Date User Action Args
2012年05月03日 10:31:38Tobias.Steinrückensetrecipients: + Tobias.Steinrücken
2012年05月03日 10:31:38Tobias.Steinrückensetmessageid: <1336041098.08.0.116585068152.issue14709@psf.upfronthosting.co.za>
2012年05月03日 10:31:37Tobias.Steinrückenlinkissue14709 messages
2012年05月03日 10:31:37Tobias.Steinrückencreate

AltStyle によって変換されたページ (->オリジナル) /