rewrite of robotparser.py by Bastian Kleineidam.  Closes patch 102229.
rewrite of robotparser.py by Bastian Kleineidam.  Closes patch 102229.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator