File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -473,6 +473,9 @@ Constants
473
473
.. versionchanged :: 3.11
474
474
NetBSD support was added.
475
475
476
+ .. versionchanged :: 3.14
477
+ Restored missing ``CAN_RAW_ERR_FILTER `` on Linux.
478
+
476
479
.. data :: CAN_BCM
477
480
CAN_BCM_*
478
481
Original file line number Diff line number Diff line change @@ -1113,6 +1113,13 @@ pty
1113
1113
Use :func: `pty.openpty ` instead.
1114
1114
(Contributed by Nikita Sobolev in :gh: `118824 `.)
1115
1115
1116
+ socket
1117
+ ------
1118
+
1119
+ * Fix missing CAN_RAW_ERR_FILTER constant in the :mod: `socket ` module on Linux systems.
1120
+ It was missing since Python 3.11.
1121
+ (Contributed by Jeroen Bogers in :gh: `129719 `.)
1122
+
1116
1123
sqlite3
1117
1124
-------
1118
1125
Original file line number Diff line number Diff line change @@ -8223,7 +8223,7 @@ socket_exec(PyObject *m)
8223
8223
#endif
8224
8224
#if defined(HAVE_LINUX_CAN_RAW_H ) || defined(HAVE_NETCAN_CAN_H )
8225
8225
ADD_INT_MACRO (m , CAN_RAW_FILTER );
8226
- #ifdef CAN_RAW_ERR_FILTER
8226
+ #ifdef HAVE_LINUX_CAN_RAW_H
8227
8227
ADD_INT_MACRO (m , CAN_RAW_ERR_FILTER );
8228
8228
#endif
8229
8229
ADD_INT_MACRO (m , CAN_RAW_LOOPBACK );
You can’t perform that action at this time.
0 commit comments