Matt Eaton <agnostic...@gmail.com> added the comment: 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: agnostic...@gmail.com ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33034> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com