This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ytvwld
Recipients orsenthil, xtreak, ytvwld
Date 2018-09-12.10:47:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1536749246.22.0.956365154283.issue34628@psf.upfronthosting.co.za>
In-reply-to
Content
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:1234@example.net")
    raises http.client.InvalidURL: nonnumeric port: '1234@example.n
et'
>>> h = HTTPConnection("user:1234@example.net:1234")
    doesn't raise any exception.
History
Date User Action Args
2018-09-12 10:47:26ytvwldsetrecipients: + ytvwld, orsenthil, xtreak
2018-09-12 10:47:26ytvwldsetmessageid: <1536749246.22.0.956365154283.issue34628@psf.upfronthosting.co.za>
2018-09-12 10:47:26ytvwldlinkissue34628 messages
2018-09-12 10:47:26ytvwldcreate