Issue 13256: Document and test new socket options (original) (raw)

Created on 2011-10-24 11:46 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
socket_options_doc.patch vstinner,2011-10-25 12:32 review
Messages (4)
msg146294 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-10-24 11:46
The commit c64216addd7f for issue #6560 added various socket option, but some of them are not well documented or tested. Authentication: * SO_PASSCRED, SO_PEERCRED, LOCAL_PEERCRED * SCM_RIGHTS, SCM_CREDENTIALS, SCM_CREDS SCTP: * socket.IPPROTO_SCTP is not mentioned in socket.socket() doc (but it's tested) etc.
msg146295 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-10-24 11:48
Another issue: the "version added" tag is not used, it's not possible to know that socket.SO_PEERCRED was added in Python 3.3.
msg146361 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011-10-25 11:46
For #12619, I added socket.SO_BINDTODEVICE constant.
msg178908 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-01-03 02:52
I created this issue for myself (as a reminder), but sorry I'm not really motivated to work on the documentation, nor test. Document socket options is not trivial because the exact definition depends on the platform. I close the issue.
History
Date User Action Args
2022-04-11 14:57:23 admin set github: 57465
2017-08-12 05:23:44 martin.panter link issue1732367 dependencies
2013-01-03 02:52:18 vstinner set status: open -> closedresolution: wont fixmessages: +
2011-10-25 12:32:20 vstinner set files: + socket_options_doc.patchkeywords: + patch
2011-10-25 11:46:42 vstinner set messages: +
2011-10-24 18:01:43 pitrou set versions: + Python 3.3nosy: + docs@pythonassignee: docs@pythoncomponents: + Documentation, Testsstage: needs patch
2011-10-24 11:48:21 vstinner set messages: +
2011-10-24 11:46:15 vstinner create