]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 12 Jan 2025 13:34:24 +0000 (14:34 +0100)
committerGitHub <noreply@github.com>
Sun, 12 Jan 2025 13:34:24 +0000 (13:34 +0000)
commitb773f591a87f415e503f42e4308dcb1eaad8d3e9
tree01c94d96e2cceb9a3cdd45c1cf504c17da60e9c5
parentc20c551ce3623063228896dd8bdaf22d2d854917
[3.12] gh-128731: Explicitly close socket on error in robotparser.RobotFileParser.read() (GH-128733) (GH-128756)

(cherry picked from commit 5e65a1acc0b630397f1d190aed279114e6e99612)

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