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.

classification
Title: socketmodule.[ch] downgrade
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, yozh
Priority: normal Keywords: patch

Created on 2002-08-09 14:20 by yozh, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
Python-socket-1-0.1-yozh.diff yozh, 2002-08-09 14:20 The patch
Messages (2)
msg40874 - (view) Author: Stepan Koltsov (yozh) Date: 2002-08-09 14:20
1. Was removed fields 'sock_type' and 'sock_proto' from
structure  PySocketSockObject since they are not used
anywhere.

2. Changed semantics of 'socket.fromfd'. Now it ignore
3rd and 4th arguments, 2nd arg is optional, if it was
not specified, it got with getsockname call.

3. Added constant AF_LOCAL.
msg40875 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-09-03 19:06
Logged In: YES 
user_id=6380

Rejected. sock_type and sock_proto are used in the socket()
call, and I find it useful to be able to report these in
repr(). I may use your trick to get the default family for
fromfd() though.

What is AF_LOCAL? Your patch for it is wrong -- it doesn't
add a proper #ifdef around it, and it defines the value to
be the same as AF_INET.
History
Date User Action Args
2022-04-10 16:05:34adminsetgithub: 37010
2002-08-09 14:20:44yozhcreate