Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove duplicate paths
  • Loading branch information
bdraco committed Oct 27, 2025
commit c7ff10e163ea94ac3c4be2c1e2583d08ee444d16
4 changes: 2 additions & 2 deletions aiohttp/_websocket/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def send_frame(
# Create a task to shield from cancellation
# Use eager_start on Python 3.12+ to avoid scheduling overhead
loop = asyncio.get_running_loop()
coro = self._send_compressed_frame_impl(message, opcode, compress)
coro = self._send_compressed_frame_async(message, opcode, compress)
if sys.version_info >= (3, 12):
send_task = asyncio.Task(coro, loop=loop, eager_start=True)
else:
Expand Down Expand Up @@ -218,7 +218,7 @@ def _send_compressed_frame_sync(
0x40,
)

async def _send_compressed_frame_impl(
async def _send_compressed_frame_async(
self, message: bytes, opcode: int, compress: int | None
) -> None:
"""Internal implementation of send_frame without locking."""
Expand Down
Loading