Senthil Kumaran added the comment:

The problem is here:

if url[:2] == '//' and url[2:3] != '/' and url[2:12].lower() != 'localhost/':
    raise ValueError("file:// scheme is supported only on localhost")

On Unix like systems url[2:3] == '/', that is path starts with '/' and this 
ValueError is escaped.

----------

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

Reply via email to