Niklas Sombert <nik...@ytvwld.de> added the comment:
Thank you for your response.

But if this is an explicit choice, I would like to have better exceptions:

>>> from http.client import HTTPConnection
>>> h = HTTPConnection("user:1...@example.net")
    raises http.client.InvalidURL: nonnumeric port: '1234@example.n
et'
>>> h = HTTPConnection("user:1...@example.net:1234")
    doesn't raise any exception.

----------

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

Reply via email to