[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Cool, thanks for clarifying. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread pmoody
pmoody added the comment: Yes, I think omitting the broadcast address in the usable hosts was a bug. -- ___ Python tracker ___ ___ Pyt

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread Nick Coghlan
Nick Coghlan added the comment: Peter, just confirming: you consider this a bug fix rather than a new feature? I ask as default is currently still 3.4.1, which I find slightly confusing myself (it will switch to 3.5 after the 3.4.0 final release this weekend) --

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset b6271cbcc762 by Peter Moody in branch 'default': Issue #19157: Include the broadcast address in the usuable hosts for IPv6 http://hg.python.org/cpython/rev/b6271cbcc762 -- nosy: +python-dev ___ Python tra

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-03-11 Thread pmoody
Changes by pmoody : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-10 Thread Michiel
Michiel added the comment: Hey Peter, Cool, thanks for the feedback! Looks like my email replies didn't get attached to the bug tracker.. I've just signed the form. Regarding the .broadcast* question, I think that's probably best handled in a separate issue, but I think there are two other op

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-08 Thread pmoody
pmoody added the comment: Hey Michiel, the patch looks good to me. Have you signed the contributor license agreement? http://www.python.org/psf/contrib/contrib-form/ Nick, is there anyway for me to check if this has been signed? -- ___ Python track

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-08 Thread pmoody
pmoody added the comment: Since there's no broadcast address for ipv6, should calling .broadcast* on an ipv6 address raise an exception? -- ___ Python tracker ___ __

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-01 Thread pmoody
pmoody added the comment: Ack. My first impression is that #1 is probably the right way to do this. I'm arguing with hg about the right way to stash a change, but I'll get this fixed. -- assignee: -> pmoody ___ Python tracker

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-02-01 Thread Nick Coghlan
Nick Coghlan added the comment: Peter, could you take a look at this one? The status quo seems reasonable to me (and I assume to you since the stdlib ipaddress matches the way ipaddr handles this case), but there are details to Michiel's proposal that I'm not able to adequately assess. Howeve

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2014-01-31 Thread Yury Selivanov
Changes by Yury Selivanov : -- nosy: +ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue19157] ipaddress.IPv6Network.hosts function omits network and broadcast addresses

2013-10-03 Thread Michiel
New submission from Michiel: (See also: http://stackoverflow.com/q/19159168/1298153. This is my first bug submission) Contrary to IPv4, IPv6 does not have a concept of network and broadcast addresses. It looks like the same code is used to generate the hosts for both IPv4 and IPv6, resulting i