Skip to content

Conversation

@bdraco
Copy link
Member

@bdraco bdraco commented Aug 29, 2024

What do these changes do?

  • Add some comments about what is going on in _send_frame
  • Avoid fetch the len() in a few places where its a fixed value and already known

Are there changes in behavior for the user?

no

Is it a substantial burden for the maintainers to support this?

no

bdraco added 3 commits August 29, 2024 08:45
- Add some comments about what is going on in _send_frame
  since much of the logic is not obvious
- Avoid fetch the len() in a few places where its a fixed
  value and already known
- Add some comments about what is going on in _send_frame
  since much of the logic is not obvious
- Avoid fetch the len() in a few places where its a fixed
  value and already known
- Add some comments about what is going on in _send_frame
  since much of the logic is not obvious
- Avoid fetch the len() in a few places where its a fixed
  value and already known
@bdraco bdraco added backport-3.10 bot:chronographer:skip This PR does not need to include a change note labels Aug 29, 2024
- Add some comments about what is going on in _send_frame
  since much of the logic is not obvious
- Avoid fetch the len() in a few places where its a fixed
  value and already known
@codecov
Copy link

codecov bot commented Aug 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.25%. Comparing base (1575360) to head (a7350cb).
Report is 1080 commits behind head on master.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8933   +/-   ##
=======================================
  Coverage   98.25%   98.25%           
=======================================
  Files         107      107           
  Lines       34136    34139    +3     
  Branches     4048     4047    -1     
=======================================
+ Hits        33541    33544    +3     
  Misses        421      421           
  Partials      174      174           
Flag Coverage Δ
CI-GHA 98.15% <100.00%> (+<0.01%) ⬆️
OS-Linux 97.81% <100.00%> (+<0.01%) ⬆️
OS-Windows 96.21% <100.00%> (+<0.01%) ⬆️
OS-macOS 97.48% <100.00%> (+<0.01%) ⬆️
Py-3.10.11 97.58% <100.00%> (+<0.01%) ⬆️
Py-3.10.14 97.51% <100.00%> (+<0.01%) ⬆️
Py-3.11.9 97.74% <100.00%> (+<0.01%) ⬆️
Py-3.12.5 97.86% <100.00%> (+<0.01%) ⬆️
Py-3.9.13 97.47% <100.00%> (+<0.01%) ⬆️
Py-3.9.19 97.41% <100.00%> (+<0.01%) ⬆️
Py-pypy7.3.16 97.02% <100.00%> (+<0.01%) ⬆️
VM-macos 97.48% <100.00%> (+<0.01%) ⬆️
VM-ubuntu 97.81% <100.00%> (+<0.01%) ⬆️
VM-windows 96.21% <100.00%> (+<0.01%) ⬆️

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.

@bdraco bdraco marked this pull request as ready for review August 30, 2024 19:49
@bdraco bdraco requested a review from asvetlov as a code owner August 30, 2024 19:49
@bdraco bdraco merged commit 8f3b1f4 into master Sep 1, 2024
@bdraco bdraco deleted the websocket_frame_sender branch September 1, 2024 23:14
@patchback
Copy link
Contributor

patchback bot commented Sep 1, 2024

Backport to 3.10: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.10/8f3b1f445ab481a928795577ae0132a04696f4af/pr-8933

Backported as #8978

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@patchback
Copy link
Contributor

patchback bot commented Sep 1, 2024

Backport to 3.11: 💚 backport PR created

✅ Backport PR branch: patchback/backports/3.11/8f3b1f445ab481a928795577ae0132a04696f4af/pr-8933

Backported as #8979

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Sep 1, 2024
bdraco added a commit that referenced this pull request Sep 1, 2024
bdraco added a commit that referenced this pull request Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:skip This PR does not need to include a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants