Eric V. Smith added the comment: And note that there are tests that explicitly check that the colon with no port works (via issue 20270).
Given that this behavior has been around for a while, and is explicitly allowed, I would recommend against changing this to an error. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28841> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com