Skip to content

gh-122404: Fix reference leak in sum implementation #122405

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

Closed
wants to merge 1 commit into from

Conversation

Eclips4
Copy link
Member

@Eclips4 Eclips4 commented Jul 29, 2024

@Eclips4
Copy link
Member Author

Eclips4 commented Jul 29, 2024

cc @skirpichev

@Eclips4
Copy link
Member Author

Eclips4 commented Jul 29, 2024

With this fix applied, test_builtin no longer leaks references:

eclips4@HOME-PC ~/p/cpython (issue-122404)> ./python -m test -R 3:3 test_builtin
Using random seed: 3525955014
0:00:00 load avg: 33.00 Run 1 test sequentially in a single process
0:00:00 load avg: 33.00 [1/1] test_builtin
beginning 6 repetitions. Showing number of leaks (. for 0 or less, X for 10 or more)
123:456
XX. ...

== Tests result: SUCCESS ==

1 test OK.

Total duration: 11.8 sec
Total tests: run=135 skipped=5
Total test files: run=1/1
Result: SUCCESS

@Eclips4
Copy link
Member Author

Eclips4 commented Jul 29, 2024

Closing per #122234 (comment)

@Eclips4 Eclips4 closed this Jul 29, 2024
@Eclips4 Eclips4 deleted the issue-122404 branch July 29, 2024 15:50
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.

1 participant