Tags: yanvirin/geoip-api-python
Tags
Fix for broken strings in Python 3. Strings with non-ASCII characters would throw a UTF-8 decoding error. In Python 3, all strings from the database are in UTF-8 and using `set_charset` to set the character set to something other than UTF-8 will throw an `ValueError` exception.
Python 3 support * Python 3 support and significant code cleanup. ( Zack Weinberg ) * The methods `name_by_addr`, `name_by_addr_v6`, `name_by_name`, and `name_by_name_v6` were added for ISP, Org, and ASNum lookups. ( Carlos Rodrigues ) * Portability fixes. * Expose `GEOIP_MMAP_CACHE` from the C library. ( George Macon ) * Unit tests were added.