Skip to content

Conversation

jakkdl
Copy link
Member

@jakkdl jakkdl commented Jan 31, 2025

fixes #340 and extends it to ASYNC912 as well

I felt kinda silly realizing the trio.open_nursery <-> anyio.create_task_group replacement only now, that could clean up eval_files for... 100, 101, 105, 111, 112, 113 & 121 😅

@jakkdl
Copy link
Member Author

jakkdl commented Jan 31, 2025

oh, derp, trio.open_nursery <-> anyio.create_task_group broke a bunch of eval files. I'll break that out into another PR

@jakkdl jakkdl mentioned this pull request Feb 3, 2025
string: str,
original: str = "trio",
new: str = "anyio",
replace_nursery: bool = False,
Copy link
Member Author

Choose a reason for hiding this comment

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

the replace_nursery parameter is temporary and removed in #345

@jakkdl jakkdl requested review from A5rocks and Zac-HD February 3, 2025 15:53
Copy link
Member

@Zac-HD Zac-HD left a comment

Choose a reason for hiding this comment

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

Nice - this is a pretty subtle point, so catching the edge cases is particularly helpful!

@Zac-HD Zac-HD merged commit 7a2a67b into python-trio:main Feb 3, 2025
11 checks passed
@jakkdl jakkdl deleted the async913_open_nursery branch February 3, 2025 22:49
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.

ASYNC913 should maybe catch trio.open_nursery

2 participants