-
Notifications
You must be signed in to change notification settings - Fork 209
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
Updated timeout helper to use get_running_loop(). #337
Conversation
carltongibson
commented
Jul 6, 2022
Should the |
@Kludex I suspect it should (but would address that separately, as it's a bigger change). |
a6c338b
to
100ac35
Compare
I added a second commit deprecating the timeout() argument. @andrewgodwin can I ask for initial guidance on the message, tests and docs you want for this? I'm not sure how you manage deprecations in |
Wow, I totally missed that last mention, huh? I don't think we ever had a deprecation plan, but I think we can follow the Django standard of "deprecation warnings for a while, then remove it", so in that sense this looks good. |
Thanks @andrewgodwin, no stress 🙂 Let me have a look over it, and I'll rebase etc. |
OK, so — I don't think this is worth a breaking change over. I'll assume the next version will be 3.6. I think the least effort approach here is to add the deprecation but not with any eye to actually removing the
... so eventually this utility just gets dropped. |
I see/recall 6a0cae0 is already merged, so small breaking changes without a major version bump are likely OK |
100ac35
to
42bf0eb
Compare
OK, I rebased, adding a change note. @andrewgodwin please let me know if you'd like any changes. (e.g. I could add an assert on the version number in the deprecation, so that we remember to remove it later... — I'm not this is pressing.) Thanks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!