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
triggers and utils updates #3851
Conversation
d7905f3
to
86a6360
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3851 +/- ##
==========================================
- Coverage 72.67% 72.63% -0.05%
==========================================
Files 49 49
Lines 8050 8038 -12
Branches 2202 2215 +13
==========================================
- Hits 5850 5838 -12
- Misses 1679 1694 +15
+ Partials 521 506 -15 ☔ View full report in Codecov by Sentry. |
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.
More suggestions for docs outside of your actual changes, sorry.
Can't easily make a separate PR from where I am right now (bed, GH GUI :))
f896e2c
to
ece57c5
Compare
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.
Everything looks fine to me.
Do you think it would make more sense to add _LockBackCompat
stuff to 1.9 and do the full switch in 2.0?
Yeah probably... I'll just make the change now and put up a PR on the stable/1.9 branch. I also need to do some newsfrags, I think. |
@marlonjames Which changes should be put on 1.9? Just the Seems like every change on master should also get a corresponding change on 1.9, giving us twice the work. |
6dc6bfc
to
e6e5468
Compare
e6e5468
to
f7306b7
Compare
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.
Sorry for taking so long...
If you have to add __dict__ to __slots__, you're missing the point.
class properties are deprecated in 3.11 and removed in 3.13.
Python type checkers ignore the subtype relation between numbers.Real and float because Guido doesn't like numbers. So we specifically add it to the list.
Use Event.is_set instead.
Required some refactoring to make simplify typing.
f7306b7
to
fa4b812
Compare
More cleanup. I need to probably take a look at the documentation and split up util.py, but that will be a follow on PR or 2. It seemed like a good time to throw up a PR so it didn't get too big.