Skip to content

[pull] main from python:main - #1461

Merged
pull[bot] merged 2 commits into
tj-python:mainfrom
python:main
Sep 10, 2026
Merged

[pull] main from python:main#1461
pull[bot] merged 2 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Sep 10, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

fedonman and others added 2 commits September 9, 2026 17:08
…#156681)

* gh-156680: Raise the documented error from IPv6Network.next_network()

next_network() guarded address-space exhaustion with except
OverflowError, which only int.to_bytes() on the IPv4 path raises.
_BaseV6._string_from_ip_int() raises ValueError instead, so the
handler never ran for IPv6 and the internal 'IPv6 address is too
large' message escaped.

Build the result from an (address, prefix) tuple rather than formatting
and reparsing a string.
@pull pull Bot locked and limited conversation to collaborators Sep 10, 2026
@pull pull Bot added the ⤵️ pull label Sep 10, 2026
@pull
pull Bot merged commit f715d25 into tj-python:main Sep 10, 2026
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants