Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MemoryObjectSendStream.send(item) doesn't raise BrokenResourceError when the last receive stream is closed if item is falsey #731

Closed
2 tasks done
gschaffner opened this issue May 12, 2024 · 0 comments · Fixed by #732
Labels
bug Something isn't working

Comments

@gschaffner
Copy link
Collaborator

gschaffner commented May 12, 2024

Things to check first

  • I have searched the existing issues and didn't find my bug already reported there

  • I have checked that my bug is still present in the latest release

AnyIO version

master (96920b0)

Python version

3.12

What happened?

MemoryObjectSendStream.send(item) doesn't raise BrokenResourceError when the last receive stream is closed if item is falsey

How can we reproduce the bug?

2c22c6a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant