]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-60055: Allow passing a Request instance for RobotParser URLs (#103753)
authorAndrew James <ephphatha@thelettereph.com>
Sun, 5 Jul 2026 15:57:09 +0000 (01:57 +1000)
committerGitHub <noreply@github.com>
Sun, 5 Jul 2026 15:57:09 +0000 (08:57 -0700)
commitcdcf228f6ab764fcd8237231f0a473b9f80586ad
tree3352ed6ac6d1d5a3cb117325e098734ccf9dba38
parentd0921efb665aff26b378f495e5ff84f7e3fe649d
gh-60055: Allow passing a Request instance for RobotParser URLs (#103753)

* Allow passing a Request instance for the url parameter

* ðŸ“œðŸ¤– Added by blurb_it.

* gh-60055: rebase onto main and document Request support

* Fix the lint warnings and CI Errors.

* Addressing RobotFileParser review comments.

* Update Doc/library/urllib.robotparser.rst

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Address additional Review Comments.

* Changed versionchanged to next.

---------

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Senthil Kumaran <senthil@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/library/urllib.robotparser.rst
Lib/test/test_robotparser.py
Lib/urllib/robotparser.py
Misc/NEWS.d/next/Library/2023-04-24-11-12-00.gh-issue-60055.UjP6aX.rst [new file with mode: 0644]