Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue26907

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Add missing getsockopt constants
Type:enhancementStage:resolved
Components:Versions:Python 3.6
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To:Nosy List: christian.heimes, martin.panter, nascheme, python-dev
Priority:normalKeywords:patch

Created on2016-05-02 14:29 bychristian.heimes, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
Add-SO_-socket-constants.patchchristian.heimes,2016-08-20 19:06review
Messages (6)
msg264649 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)Date: 2016-05-02 14:29
The socket doesn't expose some constants for getsockopt() and setsockopt():Get domain and protocol from socket fdSO_DOMAINSO_PROTOCOLenable/disable passing of credentialsSO_PASSCREDget security context (SELinux context)SO_PEERSECenable/disable passing of security contextSO_PASSSEC
msg269200 -(view)Author: Neil Schemenauer (nascheme)*(Python committer)Date: 2016-06-24 17:23
Issue#27377 adds these constants.
msg269217 -(view)Author: Martin Panter (martin.panter)*(Python committer)Date: 2016-06-25 02:14
SO_PASSCRED was added to Python 3.3 as part ofIssue 6560; it is just missing documentation.
msg273241 -(view)Author: Christian Heimes (christian.heimes)*(Python committer)Date: 2016-08-20 19:06
The attached patch adds SO_DOMAIN, SO_PROTOCOL, SO_PEERSEC and SO_PASSSEC. I'd like to get the constants into the stdlib in case Neil's patch won't make it into 3.6.
msg273251 -(view)Author: Martin Panter (martin.panter)*(Python committer)Date: 2016-08-20 22:54
Patch looks fine to me.
msg273529 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-08-24 01:12
New changeseted5f5d490490 by R David Murray in branch 'default':#26907: add some missing getsockopt constants.https://hg.python.org/cpython/rev/ed5f5d490490
History
DateUserActionArgs
2022-04-11 14:58:30adminsetgithub: 71094
2016-08-24 01:13:23r.david.murraysetstatus: open -> closed
resolution: fixed
stage: commit review -> resolved
2016-08-24 01:12:54python-devsetnosy: +python-dev
messages: +msg273529
2016-08-20 22:54:26martin.pantersetmessages: +msg273251
stage: commit review
2016-08-20 19:06:28christian.heimessetfiles: +Add-SO_-socket-constants.patch
keywords: +patch
messages: +msg273241
2016-06-25 02:14:02martin.pantersetnosy: +martin.panter
messages: +msg269217
2016-06-24 17:23:20naschemesetnosy: +nascheme
messages: +msg269200
2016-06-12 11:22:07christian.heimessetassignee:christian.heimes ->
2016-05-02 14:29:23christian.heimescreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp