Niklas Sombert <[email protected]> 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:[email protected]")
raises http.client.InvalidURL: nonnumeric port: '[email protected]
et'
>>> h = HTTPConnection("user:[email protected]:1234")
doesn't raise any exception.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34628>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com