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 Windson Yang
Recipients Windson Yang, orsenthil, xtreak, ytvwld
Date 2018-11-10.02:14:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541816045.72.0.788709270274.issue34628@psf.upfronthosting.co.za>
In-reply-to
Content
First, we can add some check at https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Lib/http/client.py#L871 and raise an error if the URL contains userinfo part. Second, we should catch some exception in urllib.request.urlopen, if we agree, I can create a PR later.
History
Date User Action Args
2018-11-10 02:14:05Windson Yangsetrecipients: + Windson Yang, orsenthil, xtreak, ytvwld
2018-11-10 02:14:05Windson Yangsetmessageid: <1541816045.72.0.788709270274.issue34628@psf.upfronthosting.co.za>
2018-11-10 02:14:05Windson Yanglinkissue34628 messages
2018-11-10 02:14:05Windson Yangcreate