gh-142776: Ensure fp file descriptor is closed on all code paths in import.c#142777
gh-142776: Ensure fp file descriptor is closed on all code paths in import.c#142777brettcannon merged 2 commits intopython:mainfrom
Conversation
brettcannon
left a comment
There was a problem hiding this comment.
There's a potential uninitialized use of fp now.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Oops. Refactored a bit, I believe it's better now. |
brettcannon
left a comment
There was a problem hiding this comment.
Would you mind adding a news entry?
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
…de paths in import.c Address review comments and add a NEWS entry
|
@stratakis is this ready to go or did you have more that you wanted to do (you didn't leave the magic comment to signal you were done, although it appears you addressed everything). |
|
Yeah, everything done :) Noting for the squash that I got a fixup commit there, you might not want to add the title of it to the commit message. |
|
Thanks @stratakis for the PR, and @brettcannon for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
|
Sorry, @stratakis and @brettcannon, I could not cleanly backport this to |
|
Sorry, @stratakis and @brettcannon, I could not cleanly backport this to |
|
@stratakis thanks for the PR! Any chance you're up for backporting? |
Sure, I'll work on the backports |
|
…s in import.c (pythonGH-142777) (cherry picked from commit 6a4f103)
|
GH-142988 is a backport of this pull request to the 3.14 branch. |
|
GH-142989 is a backport of this pull request to the 3.13 branch. |
…s in import.c (pythonGH-142777) (cherry picked from commit 6a4f103)
Uh oh!
There was an error while loading. Please reload this page.