[Python-ideas] ipaddress: Interface inheriting from Address
jon at jon-foster.co.uk
Mon Sep 2 01:28:05 CEST 2013
After looking at ipaddress some more, I've got a few patches to
suggest. I've pushed them all to a Mercurial repository which
you can see here:
The "Interface not inheriting from Address" patch is:
It depends on some refactoring, which I did in a separate commit:
There are a few other ipaddress patches in that repository, too.
I'd appreciate any feedback you have on these.
P.S. I have just signed a Contributor Agreement.
On 27/08/2013 14:18, Eric V. Smith wrote:
> On 08/21/2013 06:55 PM, Jon Foster wrote:
>> Hi all,
>> I'd like to propose changing ipaddress.IPvInterface to not inherit
>> from IPvAddress.
> <stuff deleted>
> I agree that it's odd that an [x]Interface would inherit from an
> [x]Address. I think it should be a has-a relationship, as you describe
> with the "ip" property.
>> If there is interest in this idea, I'll try to put together a patch next
> I'd review the patch.
> Python-ideas mailing list
> Python-ideas at python.org
More information about the Python-ideas