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 EdSchouten
Recipients EdSchouten
Date 2016-08-07.10:37:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1470566233.96.0.229880145452.issue27702@psf.upfronthosting.co.za>
In-reply-to
Content
POSIX only requires socket types SOCK_STREAM, SOCK_DGRAM and SOCK_SEQPACKET to be present. SOCK_RAW is optional, as it is placed between [RS] tags in the specification:

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html

It looks like Python's socketmodule.c does try to use it unconditionally. Comply to POSIX by only exposing it optionally, just like we do for some of the other socket types (SOCK_RDM, etc).
History
Date User Action Args
2016-08-07 10:37:13EdSchoutensetrecipients: + EdSchouten
2016-08-07 10:37:13EdSchoutensetmessageid: <1470566233.96.0.229880145452.issue27702@psf.upfronthosting.co.za>
2016-08-07 10:37:13EdSchoutenlinkissue27702 messages
2016-08-07 10:37:13EdSchoutencreate