Author agnosticdev
Recipients agnosticdev, bbayles, berker.peksag, eric.smith, jonathan-lp
Date 2018-03-30.22:50:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522450215.09.0.467229070634.issue33034@psf.upfronthosting.co.za>
In-reply-to
Content
I was able to get some time together today and created a rough draft for the idea that you had Berker on introducing a new API with more strict parsing rules.

This will allow the ValueError to be raised when the URL is parsed rather than when the computed property is used.  

Jonathan, this will help address your concern on the consistency of when the error message is raised.

I added the rough draft on my Github account here:
https://github.com/agnosticdev/cpython-apis/tree/master/url
https://github.com/agnosticdev/cpython-apis/blob/master/url/url.py

Please take a look and let me know what you think.
You can contact me directly to continue the conversation at my email: agnosticdev@gmail.com
History
Date User Action Args
2018-03-30 22:50:15agnosticdevsetrecipients: + agnosticdev, eric.smith, berker.peksag, bbayles, jonathan-lp
2018-03-30 22:50:15agnosticdevsetmessageid: <1522450215.09.0.467229070634.issue33034@psf.upfronthosting.co.za>
2018-03-30 22:50:15agnosticdevlinkissue33034 messages
2018-03-30 22:50:15agnosticdevcreate