phihag / ipaddress

Python 3.3+'s ipaddress for older Python versions
Other
105 stars 53 forks source link

Why this is only for python 3.3+ #41

Closed PsyanticY closed 6 years ago

PsyanticY commented 6 years ago

why this is just for python 3.3+ ? I installed it on python 3.6 and it seems to work fine?

phihag commented 6 years ago

This project is a backport of the ipaddress package in the Python standard library, aimed at Python 2.6, Python 2.7, and Python 3.2. Basically, I took the code from the Python 3.3+ ipaddress package and adapted it to older versions of Python.

If you have Python 3.3 or newer (for instance, Python 3.6), ipaddress is already available in the standard library and there is no point in installing this backport.

I don't actively break support for 3.6 and the like, but the version in the standard library will work at least as good as this backport. By the way, 3.3+ means 3.3 or any newer version, e.g. 3.4, 3.5, 3.6, 4.0.

PsyanticY commented 6 years ago

@phihag Thanks for the clarification.