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

[3.12] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser.read() (GH-128733) #128756

Merged
merged 2 commits into from
Jan 12, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jan 12, 2025

(cherry picked from commit 5e65a1a)

Co-authored-by: Serhiy Storchaka [email protected]

…ead() (pythonGH-128733)

(cherry picked from commit 5e65a1a)

Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchaka serhiy-storchaka changed the title [3.12] gh-128731: Fix ResourceWarning in robotparser.RobotFileParser.read() (GH-128733) [3.12] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser.read() (GH-128733) Jan 12, 2025
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) January 12, 2025 13:18
@serhiy-storchaka serhiy-storchaka merged commit b773f59 into python:3.12 Jan 12, 2025
28 checks passed
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.

2 participants