Martin Panter added the comment:

I suspect the proposed patch here would make some of the special error handling 
for the “port” property redundant, and would compete with my patch for Issue 
20059, which raises ValueError in more cases when “port” is accessed, rather 
than returning None.

There should also be test cases (and maybe documentation or fixes?) to 
illustrate the behaviour of parsing:

* http://[fe80::a%25en1] (RFC 6874-style scoped IPv6 address with zone 
identifier)
* http://[v1.fe80::a+en1] (RFC 3986 IPvFuture format, using 
<https://tools.ietf.org/html/draft-sweet-uri-zoneid-01> style address)

----------
nosy: +vadmium

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20271>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to