Christian Heimes added the comment: About 2e8dd5c240b7 It might be a good idea to cache the two lists in a class or module variable in order to speed things up. It might also be a good idea to move the most common networks like 192.168.0.0/16 to the top of the list.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17400> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com