Please include these improvements in the GeoIP-Python package

Bug #180212 reported by James Henstridge
4
Affects Status Importance Assigned to Milestone
GeoIP-Python
Unknown
Unknown
python-geoip (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-geoip

Mark asked me to make a few improvements to the Python GeoIP bindings. It would be good to see these changes merged in to the python-geoip package for Hardy. I've submitted the changes upstream, already but would like to make sure the changes make it into our package too.

I'll attach the Bazaar branch containing my changes. Revision 13 represents the last tarball release (what the current package is based on), so the diff from there to head will represent the changes since then (including a GPL -> LGPL license change) plus my improvements.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-geoip - 1.2.1-2ubuntu2

---------------
python-geoip (1.2.1-2ubuntu2) hardy; urgency=low

  * Add the the following improvements to the GeoIP-Python binding
    (James Henstridge) LP: #180212, sf#1863473:
    1. fixes some reference leaks in setting up GeoIP.country_codes,
       country_names, and country_continents variables. It also moves some
       variable declarations to the top of the initGeoIP() function for
       compatibility with pre-C99 compilers.
    2. exposes CHECK_CACHE and INDEX_CACHE flags for GeoIP.new() or
       GeoIP.open()
    3. adds "database_info" and "database_edition" attributes to GeoIP
       objects.
    4. adds "region_name" and "time_zone" keys to dictionary returned by
       record_by_addr()/record_by_name().
  * debian/copyright: Update to LGPL.

 -- Matthias Klose <email address hidden> Wed, 09 Apr 2008 17:52:09 +0000

Changed in python-geoip:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.