[issue20480] Add ipaddress property to get name of reverse DNS pointer

2014-02-01 Thread Leon Weber
Leon Weber added the comment: Oh nice, then fewer trees have to die. I’ve now signed the contributor’s agreement. -- ___ Python tracker ___ _

[issue20480] Add ipaddress property to get name of reverse DNS pointer

2014-02-01 Thread Nick Coghlan
Nick Coghlan added the comment: Gah, we still haven't fixed the contributor license docs on the main CLA page (hopefully we'll finally have that sorted later this month). In the meantime, if you go directly to http://www.python.org/psf/contrib/contrib-form/ it should give you the option to sign e

[issue20480] Add ipaddress property to get name of reverse DNS pointer

2014-02-01 Thread Leon Weber
Leon Weber added the comment: Thanks for the feedback, I agree "reverse_pointer" is a better, less ambiguous name for the property. I’ve amended the patch to reflect this suggestion. Regarding the trailing dot, I felt it more appropriate to have it that to leave it out, but I don’t have a stro

[issue20480] Add ipaddress property to get name of reverse DNS pointer

2014-02-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks for the patch, Leon. Is the trailing dot actually desired? >>> ipaddress.ip_address("127.0.0.1").reverse_name '1.0.0.127.in-addr.arpa.' Also, to accept your contribution, we will need you to fill a contributor's agreement. See http://www.python.org/psf/

[issue20480] Add ipaddress property to get name of reverse DNS pointer

2014-02-01 Thread Nick Coghlan
Nick Coghlan added the comment: Heh, my initial reaction based on the issue title was the same as Eric's, but yes, I agree the pure text manipulation proposed in the patch is actually a good fit. Rather than "reverse_name" (which I feel is ambiguous about whether or not it does the DNS lookup