Skip to content

gh-85567: Fix resouce warnings in pickle and pickletools CLIs#113618

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:pickle-cli-no-FileType
Jan 5, 2024
Merged

gh-85567: Fix resouce warnings in pickle and pickletools CLIs#113618
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:pickle-cli-no-FileType

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jan 1, 2024

Copy link
Copy Markdown
Member

Explicitly open and close files instead of using FileType.

Explicitly open and close files instead of using FileType.
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@serhiy-storchaka
serhiy-storchaka deleted the pickle-cli-no-FileType branch January 5, 2024 22:12
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 5, 2024
…ythonGH-113618)

Explicitly open and close files instead of using FileType.
(cherry picked from commit bd754b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app

bedevere-app Bot commented Jan 5, 2024

Copy link
Copy Markdown

GH-113758 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 5, 2024
…ythonGH-113618)

Explicitly open and close files instead of using FileType.
(cherry picked from commit bd754b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Jan 5, 2024
@bedevere-app

bedevere-app Bot commented Jan 5, 2024

Copy link
Copy Markdown

GH-113759 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Jan 5, 2024
serhiy-storchaka added a commit that referenced this pull request Jan 5, 2024
…H-113618) (GH-113759)

Explicitly open and close files instead of using FileType.
(cherry picked from commit bd754b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Jan 5, 2024
…H-113618) (GH-113758)

Explicitly open and close files instead of using FileType.
(cherry picked from commit bd754b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
kulikjak pushed a commit to kulikjak/cpython that referenced this pull request Jan 22, 2024
…ythonGH-113618)

Explicitly open and close files instead of using FileType.
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…ythonGH-113618)

Explicitly open and close files instead of using FileType.
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…ythonGH-113618)

Explicitly open and close files instead of using FileType.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant