Matt Eaton <agnostic...@gmail.com> added the comment: Yes, my goal for the patch was to provide a more explicit error message for this situation and to provide a low surface area change to the overall source, knowing that there are future development goals and backward compatibility to keep in mind. That way the patch would be a first step in providing more explicit information when a developer would run into this situation and hopefully improving the current situation at hand.
The new ValueError message raised in this patch does work for both urlparse and urlsplit. ---------- _______________________________________ 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