]> granicus.if.org Git - python/commit
[3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 14 May 2018 22:03:56 +0000 (15:03 -0700)
committerSerhiy Storchaka <storchaka@gmail.com>
Mon, 14 May 2018 22:03:56 +0000 (01:03 +0300)
commit3936fd7b2c271f723d1a98fda3ca9c7efd329c04
tree8626c328947da7f2107d17b6ca9400c85f3dec63
parent914bad6e2c5131f32366be86e0bf3ad01f7de5e2
[3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) (GH-6795) (GH-6818)

The urllib.robotparser's __str__ representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields.
(cherry picked from commit c3fa1f2b93fa4bf96a8aadc74ee196384cefa31e)

Co-authored-by: Michael Lazar <lazar.michael22@gmail.com>
Lib/test/test_robotparser.py
Lib/urllib/robotparser.py
Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst [new file with mode: 0644]