Issue1908
Created on 2012-05-31.21:09:53 by roderickc, last changed 2012-06-08.21:06:29 by amak.
msg7178 (view) |
Author: Roderick Colenbrander (roderickc) |
Date: 2012-05-31.21:09:52 |
|
Connecting to an unreachable host in Jython 2.5x/2.7x triggers: ' [java] Exception: Failed to connect to socket: Unmapped exception: java.net.NoRouteToHostException: No route to host'. This patch maps the error to the proper errno number, EHOSTUNREACH. Now Jython has the same behavior as CPython. It looks like more network errors aren't mapped correctly yet.
Thanks,
Roderick Colenbrander
|
msg7180 (view) |
Author: Alan Kennedy (amak) |
Date: 2012-06-05.19:54:34 |
|
Patch looks good, I will apply soon.
|
msg7193 (view) |
Author: Alan Kennedy (amak) |
Date: 2012-06-08.21:06:29 |
|
Fix checked in
tip: http://hg.python.org/jython/rev/cd15a0e2cb15
2.5: http://hg.python.org/jython/rev/68c9cd730297
Thanks for taking the time to submit the patch.
|
|
Date |
User |
Action |
Args |
2012-06-08 21:06:29 | amak | set | status: open -> closed resolution: fixed messages:
+ msg7193 |
2012-06-05 19:54:35 | amak | set | assignee: amak messages:
+ msg7180 nosy:
+ amak |
2012-05-31 21:09:53 | roderickc | create | |
|