Maarten ter Huurne <maar...@treewalker.org> added the comment:

Another problem with the current code is that when passed a URL with a host 
name that is not empty or "localhost", but is one of the alternative names for 
localhost returned by get_names(), file_open() returns None implicitly instead 
of opening the file.

I think this issue would be fixed by the proposed patch. So it would be good if 
the patch could be reviewed and adopted.

----------
nosy: +mthuurne
versions: +Python 3.7

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

Reply via email to