News for hackers. Stuff that matters.
Re:New features you can't use unless you are in Python 3 by signet on Wednesday June 14, 2017 @01:02PM (#14554093)
My personal favorite is native support for IP addresses, introduced in python 3.3[0]. Makes IP math and address validation so much easier.

[0] https://docs.python.org/3/library/ipaddress.html

Re:New features you can't use unless you are in Python 3 by bpicolo on Wednesday June 14, 2017 @01:05PM (#14554117)
To be fair, you can grab the original. https://pypi.python.org/pypi/ipaddress
Re:New features you can't use unless you are in Python 3 by jsmthrowaway on Wednesday June 14, 2017 @07:23PM (#14556804)
Anybody who likes that will like subnettree, too, which offers a C-based Patricia tree for IP addresses. In the past, I've gotten a lot of mileage out of this library:

https://pypi.python.org/pypi/pysubnettree

Last time I played with it, it didn't like Python 3 or ipaddress, though. I see a recent upload, so maybe they addressed that.

Re:New features you can't use unless you are in Python 3 by est on Wednesday June 14, 2017 @09:51PM (#14557388)
> address validation

just try: socket.inet_aton

Re:New features you can't use unless you are in Python 3 by pwdisswordfish on Thursday June 15, 2017 @04:25AM (#14558725)
That doesn't seem to support IPv6 at all. And doesn't let you do much with a parsed address either.