You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
IPv6Network.next_network() raises the wrong error when addresses run out #156680
_BaseNetwork.next_network() guards address-space exhaustion with except OverflowError, which only the IPv4 path raises, so on IPv6 the internal ValueError from _string_from_ip_int() escapes instead.
Activity
777GE90 commentedon Aug 30, 2026
Hopefully should be resolved under c6b1d1a
gh-156680: Raise the documented error from IPv6Network.next_network() (…
orsenthil commentedon Sep 10, 2026
Reopening this to update a doc string of the module.
pythongh-156680 - Update IPv4Network and IPv6Network docstring.
pythongh-156680: Raise the documented error from IPv6Network.next_net…
pythongh-156680: Raise the documented error from IPv6Network.next_net…
gh-156680 - Update IPv4Network and IPv6Network docstring. (#157280)