diff options
author | Larry Hastings <larry@hastings.org> | 2015-04-13 21:48:40 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2015-04-13 21:48:40 (GMT) |
commit | a6cc551502aac1fd011009abe40686f4647ba6b0 (patch) | |
tree | f6709fe9bd9475607b37557f803237b7d7970aad /Doc | |
parent | d827be8ff1e74b35191aa51e7b66acb8a13b9db9 (diff) | |
download | cpython-a6cc551502aac1fd011009abe40686f4647ba6b0.zip cpython-a6cc551502aac1fd011009abe40686f4647ba6b0.tar.gz cpython-a6cc551502aac1fd011009abe40686f4647ba6b0.tar.bz2 |
Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
Patch courtesy of Joe Jevnik.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/socket.rst | 12 | ||||
-rw-r--r-- | Doc/whatsnew/3.5.rst | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst index 530fbb0..84fa10d 100644 --- a/Doc/library/socket.rst +++ b/Doc/library/socket.rst @@ -279,6 +279,18 @@ Constants .. versionadded:: 3.4 +.. data:: CAN_RAW_FD_FRAMES + + Enables CAN FD support in a CAN_RAW socket. This is disabled by default. + This allows your application to send both CAN and CAN FD frames; however, + you one must accept both CAN and CAN FD frames when reading from the socket. + + This constant is documented in the Linux documentation. + + Availability: Linux >= 3.6. + + .. versionadded:: 3.5 + .. data:: AF_RDS PF_RDS SOL_RDS diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst index 7a8c3f8..a1130df 100644 --- a/Doc/whatsnew/3.5.rst +++ b/Doc/whatsnew/3.5.rst @@ -792,6 +792,9 @@ Changes in the Python API in Python 3.5, all old `.pyo` files from previous versions of Python are invalid regardless of this PEP. + * The :mod:`socket` module now exports the CAN_RAW_FD_FRAMES constant on linux + 3.6 and greater. + Changes in the C API -------------------- |