-
-
Notifications
You must be signed in to change notification settings - Fork 32k
Issue 46771 #31415
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
Issue 46771 #31415
Conversation
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept this contribution by verifying everyone involved has signed the PSF contributor agreement (CLA). CLA MissingOur records indicate the following people have not signed the CLA: For legal reasons we need all the people listed to sign the CLA before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. If you have recently signed the CLA, please wait at least one business day You can check yourself to see if the CLA has been received. Thanks again for the contribution, we look forward to reviewing it! |
I've signed the CLA FWIW, guess it takes a while to process. |
You should link bpo-46771 in the PR title and description. That issue is rather long. Was this change discussed specifically? It makes it harder to instantiate this object with keyword arguments, because the attr names are underscored. |
@asvetlov I don't think this is the best way to collaborate on this. Instead of your main PR being @JelleZijlstra these arguments are essentially all internal, the end users will use wrappers in the module. And for broader context, I am trying to collaborate with Andrew on a different PR, so this was meant for Andrew first. |
Now the PR is set up exactly to this. Base branch selects where the PR lands. |
I don't like dataclass usage here:
|
Ok, noted. |
Turned the CancelScope into a slotted dataclass. It's how I would do it, but dunno if it's ok for the stdlib sensibilities.