Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

The default entry was moved out of entries added in issue523041, but 
RobotFileParser.__str__ was not updated. Support for "Crawl-delay" and 
"Request-Rate" was added in issue16099, but Entry.__str__ was not updated. This 
looks like bugs to me, and I think the fix should be backported.

But two unnecessary trailing newlines should be kept for compatibility in 
maintained versions. I think we can get rid of them in 3.8 (unless Senthil has 
other opinion).

----------
nosy: +serhiy.storchaka
versions: +Python 2.7, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32861>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to