Tony Locke <tlo...@tlocke.org.uk> added the comment: I've created a patch for parse.py against the py3k branch, and I've also included ndim's test cases in that patch file.
When returning the host name of an IPv6 literal, I don't include the surrounding '[' and ']'. For example, parsing http://[::1]:5432/foo/ gives the host name '::1'. ---------- nosy: +tlocke versions: +Python 3.2 Added file: http://bugs.python.org/file16886/parse.py.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2987> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com