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

[2.7] bpo-36147: Fix a variable going out of scope. #12102

Merged
merged 1 commit into from Mar 6, 2019

Conversation

stratakis
Copy link
Contributor

@stratakis stratakis commented Feb 28, 2019

The s_get function leaks the result variable.
Partially backport commit 19b5254
to fix it.

https://bugs.python.org/issue36147

The s_get function leaks the result variable.
Partially backport commit 19b5254
to fix it.
Copy link
Member

@vstinner vstinner left a comment

LGTM, that's a copy of the code used in the master branch.

@vstinner vstinner merged commit 098b139 into python:2.7 Mar 6, 2019
@stratakis stratakis deleted the bpo36147 branch Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants