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.

Title: CAN Socket support for NetBSD
Type: enhancement Stage: resolved
Components: Extension Modules Versions: Python 3.11
Status: closed Resolution: fixed
Dependencies: 31927 Superseder:
Assigned To: serhiy.storchaka Nosy List: serhiy.storchaka, wiz
Priority: normal Keywords: patch

Created on 2017-05-30 14:50 by wiz, last changed 2022-04-11 14:58 by admin. This issue is now closed.

File name Uploaded Description Edit
can.diff wiz, 2017-05-30 14:50 Patch adding NetBSD CAN sockets support.
Pull Requests
URL Status Linked Edit
PR 30066 merged wiz, 2021-12-11 23:51
Messages (3)
msg294764 - (view) Author: Thomas Klausner (wiz) * Date: 2017-05-30 14:50
NetBSD recently got support for CAN. The existing Linux support for CAN partially detects this, but then fails to build. The attached patch against 3.6.1 (from Manuel Bouyer <>) fixes this problem and adds proper NetBSD support for CAN sockets.
msg305441 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2017-11-02 16:37
The compilation will be fixed in issue31927.

I have wrote similar patch for adding CAN Socket support on NetBSD. I'll combine the patches later.

This is a new feature and can be added only in 3.7.
msg411090 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2022-01-21 07:44
New changeset 40fcd16889028bd3cd2289e0f8a2af43f17a5824 by Thomas Klausner in branch 'main':
bpo-30512: Add CAN Socket support for NetBSD (GH-30066)
Date User Action Args
2022-04-11 14:58:47adminsetgithub: 74697
2022-01-21 07:44:59serhiy.storchakasetstatus: open -> closed
stage: patch review -> resolved
resolution: fixed
versions: + Python 3.11, - Python 3.7
2022-01-21 07:44:20serhiy.storchakasetmessages: + msg411090
2021-12-11 23:51:18wizsetstage: patch review
pull_requests: + pull_request28286
2017-11-02 16:37:13serhiy.storchakasetassignee: serhiy.storchaka
dependencies: + Fix compiling the socket module on NetBSD 8 and other issues
type: compile error -> enhancement
components: + Extension Modules, - Build
versions: + Python 3.7, - Python 3.6
nosy: + serhiy.storchaka

messages: + msg305441
2017-05-30 14:50:42wizcreate