[issue38784] ip_network does not clear/update the broadcast_address cache when network_address is changed.

2019-11-13 Thread Johannes Erwerle
Johannes Erwerle added the comment: since it hasn't been documented that those classes are all designed to be immutable (and many things work when they are mutable) many people probably use it that way. Declaring them immutable via the docs now would "break"

[issue38784] ip_network does not clear/update the broadcast_address cache when network_address is changed.

2019-11-13 Thread Johannes Erwerle
Change by Johannes Erwerle : -- title: ip_network does not clear/update the broadcast_address cache when the IP address is changed. -> ip_network does not clear/update the broadcast_address cache when network_address is changed. ___ Pyt

[issue38784] ip_network does not clear/update the broadcast_address cache when the IP address is changed.

2019-11-13 Thread Johannes Erwerle
New submission from Johannes Erwerle : The ip_network class in the ipaddress module does cache the broadcast_address attribute. But when the network address is changed the cache is not cleared/updated. Example: > from ipaddress import ip_network > &

[issue38784] ip_network does not clear/update the broadcast_address cache when the IP address is changed.

2019-11-13 Thread Johannes Erwerle
Change by Johannes Erwerle : -- versions: +Python 3.8 ___ Python tracker <https://bugs.python.org/issue38784> ___ ___ Python-bugs-list mailing list Unsubscribe: