Commit upstream 02b81a82a57dc9816235297f33fe617786213c49
2 files changed
tree: 7f260b7a6bf5d4d3e1fee9748aa2b593b1aa827f
  1. .gitignore
  2. .travis.yml
  3. ipaddress.py
  4. LICENSE
  5. Makefile
  6. README.md
  7. README.txt
  8. setup.py
  9. test_ipaddress.py
README.md

ipaddress

Python 3.3's ipaddress for Python 2.6 and 2.7.

Note that you must pass in unicode objects when constructing from a character representation!

Correct:

ipaddress.ip_address(u'1.2.3.4')

Wrong:

ipaddress.ip_address('1.2.3.4')
ipaddress.ip_address(b'1.2.3.4')