-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
[3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) #6795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) #6795
Conversation
…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. (cherry picked from commit bd08a0a) Co-authored-by: Michael Lazar <[email protected]>
Thanks @miss-islington for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7, 3.6. |
Thanks, @serhiy-storchaka! |
…ythonGH-5711) (pythonGH-6795) The urllib.robotparser's __str__ representation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields. (cherry picked from commit bd08a0a) Co-authored-by: Michael Lazar <[email protected]> (cherry picked from commit c3fa1f2) Co-authored-by: Miss Islington (bot) <[email protected]>
Sorry, @miss-islington and @serhiy-storchaka, I could not cleanly backport this to |
This should not have the backport labels. |
…ythonGH-5711) (pythonGH-6795) The robotparser's __str__ representation now includes wildcard entries. (cherry picked from commit c3fa1f2) Co-authored-by: Michael Lazar <[email protected]>.
I have added the backport labels because the modified vwrsion should be backported to maintained releases. I modified this PR and set labels for half-automatic backporting to 3.6 and 2.7. |
Thanks @miss-islington for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6. |
…ythonGH-5711) (pythonGH-6795) The urllib.robotparser's __str__ representation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields. (cherry picked from commit bd08a0a) Co-authored-by: Michael Lazar <[email protected]> (cherry picked from commit c3fa1f2) Co-authored-by: Miss Islington (bot) <[email protected]>
…H-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 c3fa1f2) Co-authored-by: Michael Lazar <[email protected]>
GH-6795) (GH-6817) The robotparser's __str__ representation now includes wildcard entries. (cherry picked from commit c3fa1f2) Co-authored-by: Michael Lazar <[email protected]>.
The urllib.robotparser's
__str__
representation now includes wildcard entries and the "Crawl-delay" and "Request-rate" fields.(cherry picked from commit bd08a0a)
Co-authored-by: Michael Lazar [email protected]
https://bugs.python.org/issue32861