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

gh-82626: Emit a warning when bool is used as a file descriptor #111275

Merged
merged 3 commits into from
Feb 5, 2024

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Oct 24, 2023

@pitrou
Copy link
Member

pitrou commented Nov 9, 2023

Why not raise an error? This is almost certainly a bug in user code.

@serhiy-storchaka
Copy link
Member Author

Why not raise an error? This is almost certainly a bug in user code.

https://xkcd.com/1172/

@serhiy-storchaka
Copy link
Member Author

I missed your comment @pitrou because for unknown causes I did not receive an email.

@serhiy-storchaka serhiy-storchaka merged commit 652fbf8 into python:main Feb 5, 2024
34 checks passed
@serhiy-storchaka serhiy-storchaka deleted the fd-bool branch February 5, 2024 20:51
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