Serhiy Storchaka added the comment: Here is a patch which makes IPv4Address and IPv6Address more lightweight (for other classes the size is not so important). It makes _version the class attribute and adds __slots__.
---------- keywords: +patch resolution: wont fix -> stage: -> patch review status: closed -> open versions: +Python 3.5 -Python 3.4 Added file: http://bugs.python.org/file37539/ipaddress_lightweight.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23103> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com