]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 13 Jan 2025 16:44:49 +0000 (17:44 +0100)
committerGitHub <noreply@github.com>
Mon, 13 Jan 2025 16:44:49 +0000 (16:44 +0000)
commita8686288366a6149a59d8ef66f9c44b608cda974
treefc28cefe6f817c390bc548b5539113f2d6cf498d
parentb1065767b4c1cbc8f98905e265a65a6a5189a185
[3.13] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser.read() (GH-128733) (GH-128755)

(cherry picked from commit 5e65a1acc0b630397f1d190aed279114e6e99612)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/urllib/robotparser.py