-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for CAN_RAW_JOIN_FILTERS #69966
Comments
Here is a patch, which adds support for CAN_RAW_JOIN_FILTERS which is available since linux 4.1 1. My patch fixes trailing whitespace issues as well. Since I have a newer version of autotools, running "autoreconf" generates a lot of changes, so I left that out for the time being. |
in case you don't like whitespace cleanups, here is the patch with "git diff --ignore-space-changes". |
Not sure what the general policy is, but IMO it is better to leave offensive white space as it is to avoid flooding the file history and diffs, unless you are editing nearby lines. I will leave some review comments for the documentation. |
In this particular case, whether we want to do that to config.ac is a separate question and should be addressed in a separate issue. |
Because is the first time I work with this bugtracking system on python.org, how can I update my patch? :) Just upload a new one? |
Yes. The review system will automatically include the new patch, regardless of its name (it looks at the content). |
Thanks! Here is an update. |
The other thing for new features is test cases. I don’t know if there are any existing CAN socket tests (in fact I don’t know anything about CAN sockets). Is it possible to make a test for this? Even if it just ensures that the setting can be applied when supported. Though I guess if this is too hard it may not be worth it. |
Hmm. I just adapted this feature request from bpo-22631 for the new constant and I verified that my patch actually works. I could try to provide a test, but then I would have to open Pandora's box as I am not a CPython developer at all. :/ |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: