Skip to content

Conversation

itamarst
Copy link
Contributor

@itamarst itamarst commented Jul 2, 2024

Fixes #969

Also hide an upgradable RLock in some edge cases.

I tried writing a test but completely failed at getting it to reproduce when run via pytest (it always passes regardless), even though it does reproduce when run manually 😢 So I didn't check it in.

@itamarst itamarst linked an issue Jul 2, 2024 that may be closed by this pull request
Copy link

codecov bot commented Jul 2, 2024

Codecov Report

Attention: Patch coverage is 26.66667% with 11 lines in your changes missing coverage. Please review.

Project coverage is 56%. Comparing base (ec6c0ff) to head (e3cce60).

Files Patch % Lines
eventlet/patcher.py 26% 11 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##           master   #970   +/-   ##
=====================================
- Coverage      56%    56%   -1%     
=====================================
  Files          89     89           
  Lines        9773   9783   +10     
  Branches     1821   1824    +3     
=====================================
- Hits         5489   5486    -3     
- Misses       3914   3926   +12     
- Partials      370    371    +1     
Flag Coverage Δ
ipv6 23% <6%> (-1%) ⬇️
py310asyncio 52% <26%> (-1%) ⬇️
py310epolls 53% <26%> (-1%) ⬇️
py310poll 53% <26%> (-1%) ⬇️
py310selects 53% <26%> (-1%) ⬇️
py311asyncio 52% <26%> (-1%) ⬇️
py311epolls 53% <26%> (-1%) ⬇️
py312asyncio 50% <26%> (-1%) ⬇️
py312epolls 51% <26%> (-1%) ⬇️
py37asyncio 50% <26%> (-1%) ⬇️
py37epolls 51% <26%> (-1%) ⬇️
py38asyncio 51% <26%> (-1%) ⬇️
py38epolls 53% <26%> (-1%) ⬇️
py38openssl 51% <26%> (-1%) ⬇️
py38poll 53% <26%> (-1%) ⬇️
py38selects 52% <26%> (-1%) ⬇️
py39asyncio 51% <26%> (-1%) ⬇️
py39dnspython1 51% <26%> (-1%) ⬇️
py39epolls 53% <26%> (-1%) ⬇️
py39poll 53% <26%> (-1%) ⬇️
py39selects 52% <26%> (-1%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@itamarst itamarst requested a review from 4383 July 2, 2024 17:05
@4383
Copy link
Member

4383 commented Jul 3, 2024

Feel free to merge it if you think you are done

@itamarst itamarst merged commit 06ec828 into master Jul 3, 2024
@itamarst itamarst deleted the 969-monkey_patch-fails-to-green-all-rlocks branch July 3, 2024 17:05
@4383 4383 mentioned this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

monkey_patch() fails to green all rlocks
3 participants