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.
Created on 2012年05月03日 10:31 by Tobias.Steinrücken, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg159845 - (view) | Author: Tobias Steinrücken (Tobias.Steinrücken) | Date: 2012年05月03日 10:31 | |
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. |
|||
| msg222251 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年07月04日 00:41 | |
Can we have a response to this please. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58914 |
| 2014年07月04日 00:45:12 | ned.deily | set | status: open -> closed superseder: Missing "return" in HTTPConnection.send() resolution: duplicate stage: resolved |
| 2014年07月04日 00:41:22 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg222251 versions: + Python 3.4, Python 3.5, - Python 3.2 |
| 2012年05月03日 10:55:03 | pitrou | set | nosy:
+ orsenthil |
| 2012年05月03日 10:31:37 | Tobias.Steinrücken | create | |