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 @@ -232,7 +232,16 @@ write code that handles both IP versions correctly. Address objects are
232
232
233
233
.. attribute :: is_reserved
234
234
235
- ``True `` if the address is otherwise IETF reserved.
235
+ ``True `` if the address is noted as reserved by the IETF.
236
+ For IPv4, this is only ``240.0.0.0/4 ``, the ``Reserved `` address block.
237
+ For IPv6, this is all addresses `allocated <iana-ipv6-address-space _>`__ as
238
+ ``Reserved by IETF `` for future use.
239
+
240
+ .. note :: For IPv4, ``is_reserved`` is not related to the address block value of the
241
+ ``Reserved-by-Protocol `` column in iana-ipv4-special-registry _.
242
+
243
+ .. caution :: For IPv6, ``fec0::/10`` a former Site-Local scoped address prefix is
244
+ currently excluded from that list (see :attr: `~IPv6Address.is_site_local ` & :rfc: `3879 `).
236
245
237
246
.. attribute :: is_loopback
238
247
@@ -253,6 +262,7 @@ write code that handles both IP versions correctly. Address objects are
253
262
254
263
.. _iana-ipv4-special-registry : https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
255
264
.. _iana-ipv6-special-registry : https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
265
+ .. _iana-ipv6-address-space : https://www.iana.org/assignments/ipv6-address-space/ipv6-address-space.xhtml
256
266
257
267
.. method :: IPv4Address.__format__(fmt)
258
268
You can’t perform that action at this time.
0 commit comments