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
[3.8] bpo-28577: Special case added to IP v4 and v6 hosts for /32 and /128 networks (pythonGH-18757) (python#25536)
The `.hosts()` method now returns the single address present in a /32 or /128 network..
(cherry picked from commit 8e9c47a)
Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
The hosts method on 32-bit prefix length IPv4Networks and 128-bit prefix IPv6Networks now returns a list containing the single Address instead of an empty list.
0 commit comments