[issue3347] urllib.robotparser doesn't work in Py3k

2008-07-18 Thread Jeremy Hylton
Jeremy Hylton <[EMAIL PROTECTED]> added the comment: Committed revision 65118. I applied a simple version of this patch and added a unittest. -- assignee: -> jhylton nosy: +jhylton status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3347] urllib.robotparser doesn't work in Py3k

2008-07-12 Thread Brett Cannon
Changes by Brett Cannon <[EMAIL PROTECTED]>: -- nosy: +brett.cannon ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mail

[issue3347] urllib.robotparser doesn't work in Py3k

2008-07-12 Thread Matt Giuca
New submission from Matt Giuca <[EMAIL PROTECTED]>: urllib.robotparser is broken in Python 3.0, due to a bytes object appearing where a str is expected. Example: >>> import urllib.robotparser >>> r = urllib.robotparser.RobotFileParser('http://www.python.org/robots.txt') >>> r.read() TypeError: