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

gh-81057: Move OS-Related Globals to _PyRuntimeState #100082

Merged

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Dec 7, 2022

@netlify
Copy link

netlify bot commented Dec 7, 2022

Deploy Preview for python-cpython-preview canceled.

Name Link
🔨 Latest commit b8befdc
🔍 Latest deploy log https://app.netlify.com/sites/python-cpython-preview/deploys/63925f7c5c9e170008558b26

@ericsnowcurrently ericsnowcurrently removed the request for review from a team December 7, 2022 17:17
@ericsnowcurrently ericsnowcurrently merged commit cda9f02 into python:main Dec 8, 2022
@ericsnowcurrently ericsnowcurrently deleted the consolidate-os-globals branch December 8, 2022 22:38
@vstinner
Copy link
Member

vstinner commented Dec 9, 2022

This change introduced a reference leak. Example with test_posixpath:

$ ./python -m test test_posixpath -R 3:3 -m test_ismount_directory_not_readable
(...)
test_posixpath leaked [9, 9, 9] references, sum=27
(...)

@vstinner
Copy link
Member

vstinner commented Dec 9, 2022

On PPC64LE Fedora Stable Refleaks 3.x, test_os and test_posixpath started to leak memory: https://buildbot.python.org/all/#builders/280/builds/548

@ericsnowcurrently
Copy link
Member Author

I'll get that fixed.

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