Message247995
In both Python 2 and Python 3, HTTPException is derived from Exception. This is not quite convenient, since catching all connection-related errors while performing an HTTP query requires catching both IOError (which is subclassed by socket.error) and HTTPException. It might be better to change the parent class to IOError instead. |
|
Date |
User |
Action |
Args |
2015-08-04 20:10:42 | Pastafarianist | set | recipients:
+ Pastafarianist |
2015-08-04 20:10:42 | Pastafarianist | set | messageid: <1438719042.84.0.137488437732.issue24788@psf.upfronthosting.co.za> |
2015-08-04 20:10:42 | Pastafarianist | link | issue24788 messages |
2015-08-04 20:10:42 | Pastafarianist | create | |
|