Skip to content

Conversation

@encukou
Copy link
Member

@encukou encukou commented Oct 16, 2025

@encukou
Copy link
Member Author

encukou commented Oct 16, 2025

!buildbot AMD64.Fedora.Stable.Refleaks

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @encukou for commit 8c46640 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F140197%2Fmerge

The command will test the builders whose names match following regular expression: AMD64.Fedora.Stable.Refleaks

The builders matched are:

  • AMD64 Fedora Stable Refleaks PR

Copy link
Member

@efimov-mikhail efimov-mikhail left a comment

Choose a reason for hiding this comment

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

LGTM. I've missed this, sorry.

Py_DECREF(module);
return NULL;
}
}
Copy link
Member

@efimov-mikhail efimov-mikhail Oct 16, 2025

Choose a reason for hiding this comment

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

IMO, it's better to place obtaining of module after qualname related if-block and remove a call of Py_DECREF(module).

@encukou encukou enabled auto-merge (squash) October 16, 2025 11:00
Copy link
Member

@efimov-mikhail efimov-mikhail left a comment

Choose a reason for hiding this comment

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

I've tested for the refleak locally, it's gone.

@encukou encukou merged commit ea4cc58 into python:main Oct 16, 2025
43 checks passed
@encukou encukou deleted the gh-139817-leak branch October 17, 2025 10:30
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.

3 participants