diff options
author | Zackery Spytz <zspytz@gmail.com> | 2020-04-09 06:03:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-09 13:03:49 +0100 |
commit | 97e0de04b8cd44474e452a028761e34407192041 (patch) | |
tree | c9041db6144355b0e2c1573a21dae089a6b4e4c6 /Doc | |
parent | b54a99d6432de93de85be2b42a63774f8b4581a0 (diff) | |
download | cpython-git-97e0de04b8cd44474e452a028761e34407192041.tar.gz |
bpo-25780: Expose CAN_RAW_JOIN_FILTERS in the socket module (GH-19190)
Co-Authored-By: Stefan Tatschner <stefan@rumpelsepp.org>
Diffstat (limited to 'Doc')
-rwxr-xr-x | Doc/library/socket.rst | 11 | ||||
-rw-r--r-- | Doc/whatsnew/3.9.rst | 7 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 5426b5abe4..87dee1a801 100755 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -408,6 +408,17 @@ Constants .. versionadded:: 3.5 +.. data:: CAN_RAW_JOIN_FILTERS + + Joins the applied CAN filters such that only CAN frames that match all + given CAN filters are passed to user space. + + This constant is documented in the Linux documentation. + + .. availability:: Linux >= 4.1. + + .. versionadded:: 3.9 + .. data:: CAN_ISOTP CAN_ISOTP, in the CAN protocol family, is the ISO-TP (ISO 15765-2) protocol. diff --git a/Doc/whatsnew/3.9.rst b/Doc/whatsnew/3.9.rst index ef499f5046..e49d4264c6 100644 --- a/Doc/whatsnew/3.9.rst +++ b/Doc/whatsnew/3.9.rst @@ -362,6 +362,13 @@ a non-blocking socket. (Contributed by Dong-hee Na in :issue:`39259`.) :class:`~smtplib.LMTP` constructor now has an optional *timeout* parameter. (Contributed by Dong-hee Na in :issue:`39329`.) +socket +------ + +The :mod:`socket` module now exports the :data:`~socket.CAN_RAW_JOIN_FILTERS` +constant on Linux 4.1 and greater. +(Contributed by Stefan Tatschner and Zackery Spytz in :issue:`25780`.) + threading --------- |