Message193878
On 'connection refused' error urllib creates IOError with wrong arguents:
args ('socket error', error(<os-dependent-number>, 'Connection refused'))
It results to dirty hacks in Python code like
'if e.errno == "socket error": ...'
instead of traditional
'id e.errno == errno.ECONNREFUSED: ...' |
|
Date |
User |
Action |
Args |
2013-07-29 16:01:57 | denkoren | set | recipients:
+ denkoren |
2013-07-29 16:01:57 | denkoren | set | messageid: <1375113717.9.0.650830125901.issue18587@psf.upfronthosting.co.za> |
2013-07-29 16:01:57 | denkoren | link | issue18587 messages |
2013-07-29 16:01:57 | denkoren | create | |
|