bpo-35416: Fix potential resource warnings in distutils by BoboTiG · Pull Request #10918 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@BoboTiG

Copy link Copy Markdown

Contributor

@BoboTiG BoboTiG commented

Dec 5, 2018

edited

Loading

Prevent file descriptor leaks in distutils.

https://bugs.python.org/issue35416

@BoboTiG BoboTiG force-pushed the fix-resource-warning-unclosed-file-distutils branch from 2af99ff to bbcfda4 Compare

December 5, 2018 14:36

@merwok

Copy link Copy Markdown

Member

merwok commented

Dec 20, 2018

Thanks, this looks good!

There are a few instances of weird indentation (from before your patch), I would like to take the opportunity to clean them.

@BoboTiG

Copy link Copy Markdown

Contributor Author

BoboTiG commented

Dec 20, 2018

Of course, go ahead :)
Or do you want me to do the clean?

@merwok

Copy link Copy Markdown

Member

merwok commented

Dec 20, 2018

Easier if I do them! It could take me a couple weeks though.

Another PR with some of the fixes was just merged, so part of the codebase is already better.

@BoboTiG

Copy link Copy Markdown

Contributor Author

BoboTiG commented

Dec 20, 2018

edited

Loading

Good :)

@methane methane merged commit 58721a9 into python:master

Apr 8, 2019

@BoboTiG BoboTiG deleted the fix-resource-warning-unclosed-file-distutils branch

April 8, 2019 13:19

@methane methane mentioned this pull request

Apr 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@methane methane methane left review comments

@merwok merwok merwok left review comments

@serhiy-storchaka serhiy-storchaka serhiy-storchaka approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@BoboTiG @merwok @methane @serhiy-storchaka @the-knights-who-say-ni @bedevere-bot