This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mendenhall
Recipients
Date 2003-04-04.13:29:51
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 16:06:30adminlinkissue706392 messages
2007-08-23 16:06:30admincreate