[3.7] bpo-32861: urllib.robotparser fix incomplete __str__ methods. (GH-5711) by miss-islington · Pull Request #6795 · python/cpython
…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 <lazar.michael22@gmail.com>
miss-islington added a commit to miss-islington/cpython that referenced this pull request
May 14, 2018…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 <lazar.michael22@gmail.com> (cherry picked from commit c3fa1f2) Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull request
May 14, 2018…ythonGH-5711) (pythonGH-6795) The robotparser's __str__ representation now includes wildcard entries. (cherry picked from commit c3fa1f2) Co-authored-by: Michael Lazar <lazar.michael22@gmail.com>.
miss-islington added a commit to miss-islington/cpython that referenced this pull request
May 14, 2018…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 <lazar.michael22@gmail.com> (cherry picked from commit c3fa1f2) Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
serhiy-storchaka pushed a commit that referenced this pull request
May 14, 2018serhiy-storchaka added a commit that referenced this pull request
May 14, 2018This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters