Skip to content

Conversation

@graingert
Copy link
Contributor

@graingert graingert commented Mar 18, 2025

depends on agronholm/anyio#896

@graingert graingert force-pushed the simplify-wait-readable-loop branch from 59898fb to ac08333 Compare March 18, 2025 09:34
@graingert graingert force-pushed the simplify-wait-readable-loop branch from d6d000d to 8ec402b Compare March 18, 2025 10:35
@graingert graingert changed the title simplify wait_readable loop simplify wait_readable loop + notify_closing Mar 18, 2025
@graingert graingert closed this Apr 14, 2025
@graingert graingert reopened this Apr 14, 2025
@graingert graingert closed this Apr 14, 2025
@graingert graingert reopened this Apr 14, 2025
@graingert graingert marked this pull request as ready for review April 14, 2025 11:56
@graingert
Copy link
Contributor Author

@davidbrochart this is ready for review


@pytest.fixture
def sockets(contexts):
async def sockets(contexts):
Copy link
Member

Choose a reason for hiding this comment

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

Why does it have to be async?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the sockets.close() need to be called with the same running event loop that they are opened with. A sync fixture the close will happen outside the event loop and fail

Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Member

@davidbrochart davidbrochart left a comment

Choose a reason for hiding this comment

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

Thanks a lot @graingert, and glad that you're back!

@davidbrochart davidbrochart merged commit bfb9ffc into QuantStack:main Nov 14, 2025
24 checks passed
@graingert graingert deleted the simplify-wait-readable-loop branch November 14, 2025 17:05
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.

2 participants