Reviewers: Peter Moody,
This patch contains a Python implementation of the IP parsing algorithms
that I wrote for Guava. It validates and parses the address in one
so a separate _is_valid_ip() function is no longer needed.
- Process ints instead of strings for ipv4_mapped, teredo, and
- Make teredo() check for 2001::/32 instead of 2001::/16.
The original Guava code (also open sourced by Google) is here:
Please review this at http://codereview.appspot.com/4917042/
This looks cleaner and is a bit quicker by my tests too.
I'll apply this.