meejah / txtorcon

Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.
http://fjblvrw2jrxnhtg67qpbzi45r7ofojaoo3orzykesly2j3c2m3htapid.onion/
MIT License
250 stars 72 forks source link

Evaluate replacement of python-ipaddr with python-ipaddress #153

Closed evilaliv3 closed 8 years ago

evilaliv3 commented 8 years ago

Starting from version 3.3 python will include a library dealing with ip addresses: ipaddress

This library has been already ported to python 2.7 and packaged for the upcoming debian stretch and ubuntu xenial (the latter will include by default and only python 3 so that it wont require neither python-ipaddress)

Given that the API is the same It would be valuable to evaluate the replacement of ipaddr with this new library.

This would also simplify integration of txtorcon in programs that include both txtorcon and cryptography as cryptography has already opted in this direction: https://pypi.python.org/pypi/ipaddress

meejah commented 8 years ago

This sounds useful.

meejah commented 8 years ago

(Not strictly python3, but I guess related). Thanks for the pointer :)

meejah commented 8 years ago

Implemented in master