[issue27089] I think this is a small bug in urlparse.py

2016-05-23 Thread Feng A
New submission from Feng A: = BUG: run : urlparse.urlparse('http://google.com]') then: raise ValueError("Invalid IPv6 URL") = SOURCE: if url[:2] == '

[issue27089] I think this is a small bug in urlparse.py

2016-05-23 Thread Feng A
Feng A added the comment: I wish you could think twice if you hadn't use urlparse.py in practical project. 1. Do you like the module to raise an exception? 2. The href in webpage is always standard format? 3. Should the parse module verify the ipv6 url format? If so, did the module r