Repository navigation
fix(profiler): implement __aenter__ and __aexit__ for asyncio.Lock - #3676
Merged
Merged
Conversation
brettlangdon
previously approved these changes
May 5, 2022
mabdinur
previously approved these changes
May 5, 2022
Contributor
|
@Mergifyio backport 1.0 1.1 |
Contributor
🟠 Waiting for conditions to matchDetails
|
Member
Author
|
ugh seems like the module gets imported in Python 2.7 so there's a syntax error under 2.7 😕 |
Member
do we just need a |
Kyle-Verhoog
force-pushed
the
prof-asyncio-lock
branch
3 times, most recently
from
May 6, 2022 02:11
a984714 to
096a272
Compare
Member
Author
|
We can get by with using normal methods since they are just proxies (we don't have to |
Kyle-Verhoog
force-pushed
the
prof-asyncio-lock
branch
from
May 6, 2022 06:40
a9b03aa to
5f2e6f9
Compare
jd
approved these changes
May 6, 2022
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 1.x #3676 +/- ##
==========================================
- Coverage 78.11% 78.08% -0.04%
==========================================
Files 645 646 +1
Lines 50014 50052 +38
==========================================
+ Hits 39070 39082 +12
- Misses 10944 10970 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
P403n1x87
reviewed
May 6, 2022
brettlangdon
approved these changes
May 6, 2022
mabdinur
approved these changes
May 6, 2022
mergify Bot
pushed a commit
that referenced
this pull request
May 6, 2022
`wrapt.ObjectProxy` does not implement these methods (see GrahamDumpleton/wrapt#73) so we need to add them to the `asyncio.Lock` proxy. (cherry picked from commit 3bc5271) # Conflicts: # tests/profiling/collector/test_asyncio.py
mergify Bot
pushed a commit
that referenced
this pull request
May 6, 2022
`wrapt.ObjectProxy` does not implement these methods (see GrahamDumpleton/wrapt#73) so we need to add them to the `asyncio.Lock` proxy. (cherry picked from commit 3bc5271)
Contributor
✅ Backports have been createdDetails
|
Kyle-Verhoog
added a commit
that referenced
this pull request
May 6, 2022
…3685) `wrapt.ObjectProxy` does not implement these methods (see GrahamDumpleton/wrapt#73) so we need to add them to the `asyncio.Lock` proxy. (cherry picked from commit 3bc5271) Co-authored-by: Kyle Verhoog <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wrapt.ObjectProxydoes not implement these methods (see GrahamDumpleton/wrapt#73) so we need to add them to theasyncio.Lockproxy.Fixes #3655