Inada Naoki <songofaca...@gmail.com> added the comment:

All classes in the ipaddress module are designed as immutable.

While it is not documented, you can see __hash__ is overridden.  It means you 
must not change the object state.

----------
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, inada.naoki

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38784>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to