﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16664	URLField's to_python method fails with ValueError on some urls on python 2.7	zigzag	Chris Beaven	"This happens cause an urlparse libraries of python 2.7 and <2.7 are very different - in 2.7 python urlparse on invalid IPv6 url (that may be http://[1080:0:0:0:8:800:200C:417A]/index.html - see [http://www.ietf.org/rfc/rfc2732.txt]) fails with !ValueError, but urlparse at py < 2.7 never raises an exception. For example,
{{{
#!python
import urlparse
print urlparse.urlsplit('http://[a')
}}}
will print '''!SplitResult(scheme='http', netloc='[a', path='', query='', fragment=!'') ''' on python 2.6 and will raise ValueError(""Invalid IPv6 URL"") on python 2.7
"	Bug	closed	Forms	dev	Normal	fixed			Accepted	1	0	0	0	0	0
