Message53809
Logged In: YES
user_id=470295
OK, I followed your suggestion and made a very lightweight type sockaddr, which has only a constructor, a destructor, and a method called to_tuple() which allows one to get the data out for reconstruction. I have included, I think, decent docstrings, but haven't patched any of the main Python doc tree. If you look at the top of getsockaddrarg(), this is the _only_ place this new type interacts with the rest of the _socket module. Here is a prototype patch. I have tried it a bit, and I think it works and is safe. If you have any comments, please let me know. |
|
Date |
User |
Action |
Args |
2007-08-23 16:06:30 | admin | link | issue706392 messages |
2007-08-23 16:06:30 | admin | create | |
|