Message6676
This is a known limitation of jython's socket module that is not going to change.
http://wiki.python.org/jython/NewSocketModule#Deferred_socket_creation_on_jython
The only thing that can be changed is the interim value returned from getsockname(): if you have a suggestion for more meaningful value, then feel free to propose it.
Guessing, by creating a socket when the user calls getsockname(), is the wrong thing to do.
It is still unknown at that stage if the socket is a client or a server socket: guessing which one it will be is not possible. (both client and server sockets can be bound to a local address: it is just not required for client sockets).
If you want to propose a different return value for getsockname in these circumstances, re-open this issue. |
|
Date |
User |
Action |
Args |
2011-10-15 10:31:47 | amak | set | messageid: <1318674707.72.0.646253779857.issue1806@psf.upfronthosting.co.za> |
2011-10-15 10:31:47 | amak | set | recipients:
+ amak, irmen |
2011-10-15 10:31:47 | amak | link | issue1806 messages |
2011-10-15 10:31:47 | amak | create | |
|