-
Notifications
You must be signed in to change notification settings - Fork 37
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
Rename conly to enable_cxx and flip default behavior #44
base: master
Are you sure you want to change the base?
Conversation
I imagine that cases where we need to know that this flag even exists (which I did not know) are much less with the current default? I would need to check how intrusive this is locally. The logic that it breaks clang makes sense especially if our |
Okay, we agree that this default makes more sense. But I think the name |
c24796c
to
1a377af
Compare
@jhance I've updated it to use |
I don't agree with your diagnosis of This will take me longer to import since it is a breaking change for us internally. |
Ok, I didn't follow through the logic of where kwargs was being used. |
@jhance any updates on this PR? |
Ping @jhance |
@jhance did you ever manage to land this change internally? |
This is a suggestion that the default of using C++ configuration is the wrong choice. Most python extensions are written in C and the behaviour of passing a c++ only flag e.g.
-std=c++17
to a compiler in C mode is generally tolerated but not by all (e.g. clang 13 specifies this as an error).Surely it is better for the few packages that use C++ to require explicitly opting in to C++ flags? I found that flipping this default didn't break the build of any of the pip packages I am importing.