[Python-bugs-list] [ python-Bugs-744164 ] ipv6 addrinfo is bad

SourceForge.net noreply@sourceforge.net
Sat, 14 Jun 2003 01:20:29 -0700


Bugs item #744164, was opened at 2003-05-27 12:22
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=744164&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: cypherpunks (cypherpunks)
Assigned to: Nobody/Anonymous (nobody)
Summary: ipv6 addrinfo is bad

Initial Comment:
ipv6 addrinfo becomes a 4-tuple in python, with
additional scope-id and flowinfo members that are never
used in practice by normal apps. scope id might be used
once in a blue moon by something like a dhcp server
(use link local addresses).

this difference causes a large portion of work involved
in porting python apps to suppot v6. i suggest it be
changed to just an address-port tuple, or add some kind
of hack to allow it ot be unpacked like "host, port =
addr".

  -- erno kuusela <erno@iki.fi>

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2003-06-14 10:20

Message:
Logged In: YES 
user_id=21627

Why is this a bug, and what kind of large portion of work is
involved to support IPv6? Please have a look at
httplib/ftplib, which both support IPv6, with minimum amount
of work.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=744164&group_id=5470