bpo-47015: Update test_os from asyncore to asyncio by arhadthedev · Pull Request #31876 · python/cpython · GitHub

github.com

Tin mới

arhadthedev:asyncio-test-os

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Convert TestSendfile to IsolatedAsyncioTestCase

cpython/Lib/asyncio/base_events.py

Make os.sendfile asynchronous

Use an asyncio-connected client

Add and use an asyncio server

Turn client data reading loop into a comprehension

Remove redundant synchronization

Remove an old, asyncore server

Remove threading infrastructure

Merge branch 'main' into asyncio-test-os

Add an explicit asyncio event loop policy

View reviewed changes

Address a review of merwok

View reviewed changes

Address a review of asvetlov

Group server stuff together

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

a failed pre-policy run

If I understand a failed pre-policy run correctly, the policy must either be manually set to something before any case is runned or be returned back to None before the suit exits. I've chosen the first variant, Andrew pr

🔨 test-with-buildbots

🔨 test-with-buildbots

Fix a call of async_sendfile in test_flags