Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-123228: don't leak file descriptors in pyrepl test#123302
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
if no f_in and f_out arguments are given, _ReadlineWrapper calls os.dupon fd 0 and 1. Instead, just pass None, because the fds aren't neededanyway in this test
bedevere-bot commentedAug 24, 2024
🤖 New build scheduled with the buildbot fleet by@hauntsaninja for commit20eb346 🤖 If you want to schedule another build, you need to add the🔨 test-with-buildbots label again. |
bedevere-bot commentedAug 24, 2024
🤖 New build scheduled with the buildbot fleet by@hauntsaninja for commit20eb346 🤖 If you want to schedule another build, you need to add the🔨 test-with-refleak-buildbots label again. |
cfbolz commentedAug 25, 2024
ok, the refleak builds worked, the failures look unrelated.@hauntsaninja, I don't know what the usual approach is in such a situation? the commit definitely improves the buildbot situation. |
pablogsal commentedAug 25, 2024
Let's land it and back port it |
Thanks@cfbolz for the PR, and@pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13. |
GH-123313 is a backport of this pull request to the3.13 branch. |
cfbolz commentedAug 25, 2024
@pablogsal thank you! |
Uh oh!
There was an error while loading.Please reload this page.
if no f_in and f_out arguments are given, _ReadlineWrapper calls os.dup on fd 0 and 1. Instead, just pass None, because the fds aren't needed anyway in this test.
str, not abytesobject #123228