Skip to content

bpo-44676: Fix reference leaks in union_reduce#27332

Merged
miss-islington merged 1 commit into
python:mainfrom
pablogsal:bpo-44676
Jul 24, 2021
Merged

bpo-44676: Fix reference leaks in union_reduce#27332
miss-islington merged 1 commit into
python:mainfrom
pablogsal:bpo-44676

Conversation

@pablogsal

@pablogsal pablogsal commented Jul 24, 2021

Copy link
Copy Markdown
Member

https://bugs.python.org/issue44676

Automerge-Triggered-By: GH:pablogsal

@Fidget-Spinner Fidget-Spinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a neat fix :). Didn't know about the N format string.

@Fidget-Spinner Fidget-Spinner added needs backport to 3.10 only security fixes and removed needs backport to 3.10 only security fixes labels Jul 24, 2021
@Fidget-Spinner

Copy link
Copy Markdown
Member

Woops I just realized we didn't backport GH-27244. So we don't need to backport this. Thanks the quick fix Pablo!

@pablogsal

Copy link
Copy Markdown
Member Author

I am backporting GH-27244 with this fix in #27333

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


0:00:00 load avg: 3.08 Run tests sequentially
0:00:00 load avg: 3.08 [1/1] test_types
beginning 6 repetitions
123456
......

== Tests result: SUCCESS ==

1 test OK.

Total duration: 1.1 sec
Tests result: SUCCESS

I also checked that this PR fix the leak issue :)

@miss-islington

Copy link
Copy Markdown
Contributor

@pablogsal: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 8158e05 into python:main Jul 24, 2021
@pablogsal pablogsal deleted the bpo-44676 branch July 24, 2021 15:22
@pablogsal

Copy link
Copy Markdown
Member Author

Thanks for the review @corona10 and @Fidget-Spinner !

sthagen added a commit to sthagen/python-cpython that referenced this pull request Jul 24, 2021
bpo-44676: Fix reference leaks in union_reduce (pythonGH-27332)
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.

6 participants