[issue17400] ipaddress should make it easy to identify rfc6598 addresses
Nick Coghlan
report at bugs.python.org
Tue Oct 22 14:52:43 CEST 2013
Nick Coghlan added the comment:
The docs patch doesn't look quite right - Peter, did you mean to copy the "is_private" docs before modifying them?
As far as caching goes, perhaps we can just drop functools.lru_cache into the relevant property implementations?
@property
@lru_cache()
def is_global(self):
"""Test if this address is allocated for public networks."""
(also in copying that example method header, I noticed the docstring for the IPv4 is_global currently still says "private" instead of "public")
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17400>
_______________________________________
More information about the Python-bugs-list
mailing list