Merge lp://staging/~martin-v/zconfig/ipv6 into lp://staging/~fdrake/zconfig/trunk

Proposed by Martin v. Löwis
Status: Merged
Merge reported by: Martin v. Löwis
Merged at revision: not available
Proposed branch: lp://staging/~martin-v/zconfig/ipv6
Merge into: lp://staging/~fdrake/zconfig/trunk
Diff against target: 152 lines (+51/-7)
3 files modified
ZConfig/datatypes.py (+36/-5)
ZConfig/tests/test_datatypes.py (+10/-0)
doc/zconfig.tex (+5/-2)
To merge this branch: bzr merge lp://staging/~martin-v/zconfig/ipv6
Reviewer Review Type Date Requested Status
Fred Drake Approve
Hanno Schlichting Pending
Christian Theune Pending
Review via email: mp+35944@code.staging.launchpad.net

Description of the change

This branch adds IPv6 support for the inet-related datatypes. It is a pre-requisite for the IPv6 support in ZEO. Test cases and documentation changes are included; I have not tried building the documentation.

For the syntactical correctness of IPv6 addresses, it relies on socket.inet_pton, which might not be available on some systems. However, it is unlikely that an IPv6 address is specified in configuration on such a system.

As before, parsing socket addresses does not perform any DNS lookups. As a consequence, it is not possible to determine whether a host name is IPv6 or IPv4 (and it may actually be both). This is represented by AF_INET; users encountering hostnames really ought to use getaddrinfo.

To post a comment you must log in.
Revision history for this message
Fred Drake (fdrake) wrote :

This looks good to merge.

Martin: Do you have the required permissions on svn.zope.org. or do you need me to land the patch?

Thanks!

review: Approve
Revision history for this message
Martin v. Löwis (martin-v) wrote :

I don't have any write permissions to zope - I also haven't filled out any forms yet, if that matters.

Revision history for this message
Fred Drake (fdrake) wrote :

I've committed this to the ZConfig trunk, but can't figure out how to mark that in launchpad (the most mysterious and headache-inducing interface I've used in a while).

Please update the markings on this branch-thing as appropriate.

Revision history for this message
Martin v. Löwis (martin-v) wrote :

> Please update the markings on this branch-thing as appropriate.

In the Status field, I have now selected "Merged".

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches