[issue8801] Inconsistency in behaviour of urllib and urllib2 with file:// URLs

Senthil Kumaran report at bugs.python.org
Sun Jul 11 05:29:11 CEST 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

There were differing behaviors in the way urllib and urllib2 was handling certain kind of file:// urls which led to this error. I just made them consistent with the fix in r82780 and merged into branches.  Now, this Exception won't be thrown at the file-open state, but a addinfo url object will be returned. The opening of an Invalid path will be left to the way OS will handle it, either allow it or reject.

----------
resolution: accepted -> fixed
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8801>
_______________________________________


More information about the Python-bugs-list mailing list