]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42861: Add `next_network` function to ipaddress library (#24180)
author777GE90 <faisal.mahmood@hotmail.co.uk>
Wed, 8 Jul 2026 14:06:55 +0000 (15:06 +0100)
committerGitHub <noreply@github.com>
Wed, 8 Jul 2026 14:06:55 +0000 (07:06 -0700)
commitfadb78565c1add98b1a7b3daf08b23f0c65e6863
tree5fad4d0ac46dbb5fad16184eb11e7a6bc08e8ae5
parent8615062fd580934fc431746f64b1ac7ee6ef8e88
bpo-42861: Add `next_network` function to ipaddress library (#24180)

Add `next_network` method that returns the  next closest network of prefix size *next_prefix*. to Lib.ipaddress

---------

Co-authored-by: Faisal Mahmood <killerklient@hotmail.co.uk>
Co-authored-by: Senthil Kumaran <senthil@python.org>
Doc/library/ipaddress.rst
Doc/whatsnew/3.16.rst
Lib/ipaddress.py
Lib/test/test_ipaddress.py
Misc/NEWS.d/next/Library/2021-01-09-18-40-15.bpo-42861.T7Ge9O.rst [new file with mode: 0644]