File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -240,7 +240,16 @@ write code that handles both IP versions correctly. Address objects are
240
240
241
241
.. attribute :: is_reserved
242
242
243
- ``True `` if the address is otherwise IETF reserved.
243
+ ``True `` if the address is noted as reserved by the IETF.
244
+ For IPv4, this is only ``240.0.0.0/4 ``, the ``Reserved `` address block.
245
+ For IPv6, this is all addresses `allocated <iana-ipv6-address-space _>`__ as
246
+ ``Reserved by IETF `` for future use.
247
+
248
+ .. note :: For IPv4, ``is_reserved`` is not related to the address block value of the
249
+ ``Reserved-by-Protocol `` column in iana-ipv4-special-registry _.
250
+
251
+ .. caution :: For IPv6, ``fec0::/10`` a former Site-Local scoped address prefix is
252
+ currently excluded from that list (see :attr: `~IPv6Address.is_site_local ` & :rfc: `3879 `).
244
253
245
254
.. attribute :: is_loopback
246
255
@@ -261,6 +270,7 @@ write code that handles both IP versions correctly. Address objects are
261
270
262
271
.. _iana-ipv4-special-registry : https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
263
272
.. _iana-ipv6-special-registry : https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
273
+ .. _iana-ipv6-address-space : https://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.xhtml
264
274
265
275
.. method :: IPv4Address.__format__(fmt)
266
276
You can’t perform that action at this time.
0 commit comments