[Python-Dev] httplib is not v6 compatible, is this going to be fixed?

David G Mills dgm at ecs.soton.ac.uk
Tue Sep 14 18:52:11 CEST 2004


Have you actually tested it, cus I made my own fix than was at least and 
additional 7 lines....

David.

On Tue, 14 Sep 2004, Skip Montanaro wrote:

> 
>     David> As the link below shows httplib can't handle an IPv6 address, it
>     David> checks for a port number by checking for a : but this simply cuts
>     David> the IPv6 address in two and tries to set the port variable as
>     David> nonsense.
> 
>     David> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=81926#c2
> 
>     David> Are there any plans to rectify this, or even an alternative
>     David> version of httplib kicking about that can handle IPv6.
> 
> I just checked in a fix for this (it was a one-character change, not
> including unit test update).  I don't know if there is a Python bug report
> open which now needs to be closed.  Considering the ease of the fix, I sort
> of think not (otherwise it would have been fixed long ago).  Note that in
> general we have plenty of other things to do with our time without
> monitoring other projects' bug trackers looking for possible Python bug
> reports.  If they aren't reported on SF we won't here about them.  (The
> Debian folks routinely open SF items when Python bug reports wind up in the
> Debian tracker.)
> 
> -- 
> Skip Montanaro
> Got spam? http://www.spambayes.org/
> skip at pobox.com
> 



More information about the Python-Dev mailing list