gh-79638: Treat an unreachable robots.txt as "disallow all" - #138555
Conversation
20756b8 to
84119fa
Compare
Disallow all access in urllib.robotparser if the robots.txt file is unreachable due to server or network errors.
84119fa to
317c116
Compare
|
This PR is stale because it has been open for 30 days with no activity. |
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
|
GH-149512 is a backport of this pull request to the 3.14 branch. |
|
GH-149513 is a backport of this pull request to the 3.13 branch. |
…all" (pythonGH-138555)" This reverts commit 310fe88.
|
This had been set to automerge but was failing CI, so wasn't meant to merge right now. I'd temporarily removed branch protection to be able to merge #149500 which was needed to fix configure, which meant this PR also merged. I've reverted it in #149514 to get @serhiy-storchaka Would you like me to re-open a fresh version of this PR once that is sorted? |
|
I'll recreate it tomorrow. |
|
Restored as #149541. |
Disallow all access in urllib.robotparser if the robots.txt file is unreachable due to server or network errors.