Skip to content

Add TRIO222, extend TRIO221, flake8-async redundant - #119

Merged
Zac-HD merged 3 commits into
python-trio:mainfrom
jakkdl:flake8_async_os_functions
Feb 2, 2023
Merged

Zac-HD merged 3 commits into
python-trio:mainfrom
jakkdl:flake8_async_os_functions

Conversation

@jakkdl

@jakkdl jakkdl commented Feb 1, 2023

Copy link
Copy Markdown
Member

Since https://docs.python.org/3/library/os.html#os.posix_spawn recommends using subprocess.run instead I assumed it should use the same error message as it.

Feels kinda hard to give a good drop-in replacement for os.wait* since it may be used for so much, but made a guess - feel free to suggest something else.

Closes #58 at last! And also makes flake8-async fully redundant

@Zac-HD
Zac-HD force-pushed the flake8_async_os_functions branch from 7dcdea6 to b40c6fd Compare February 2, 2023 00:09
@Zac-HD
Zac-HD force-pushed the flake8_async_os_functions branch from b40c6fd to f858956 Compare February 2, 2023 00:12
@Zac-HD
Zac-HD merged commit 62041e8 into python-trio:main Feb 2, 2023
@jakkdl
jakkdl deleted the flake8_async_os_functions branch February 2, 2023 09:33
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.

Recommend async alternatives to blocking IO calls

2 participants