diff options
author | Michael Lazar <lazar.michael22@gmail.com> | 2018-05-14 14:10:41 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-05-14 14:10:41 (GMT) |
commit | bd08a0af2d88c590ede762102bd42da3437e9980 (patch) | |
tree | 9f2e29d7e8c3bfe131fa78a3358afb314ae0f20d /Misc/NEWS.d | |
parent | 5c0d462689e1a69537eaeba6ab94e3ff3524fc31 (diff) | |
download | cpython-bd08a0af2d88c590ede762102bd42da3437e9980.zip cpython-bd08a0af2d88c590ede762102bd42da3437e9980.tar.gz cpython-bd08a0af2d88c590ede762102bd42da3437e9980.tar.bz2 |
bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711)
The urllib.robotparser's __str__ representation now includes wildcard
entries and the "Crawl-delay" and "Request-rate" fields. Also removes extra
newlines that were being appended to the end of the string.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst b/Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst new file mode 100644 index 0000000..2bb24d7 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-04-02-20-44-54.bpo-32861.HeBjzN.rst @@ -0,0 +1,4 @@ +The urllib.robotparser's ``__str__`` representation now includes wildcard +entries and the "Crawl-delay" and "Request-rate" fields. Also removes extra +newlines that were being appended to the end of the string. Patch by +Michael Lazar. |