On Mon, 25 Jan 2010 08:10:09 -0000, Launchpad Bug Tracker <email address hidden> wrote:
> This bug was fixed in the package python-launchpadlib - 1.5.4-1ubuntu1
>
> ---------------
> python-launchpadlib (1.5.4-1ubuntu1) lucid; urgency=low
>
> * debian/control: Always depend on python-simplejson, drop the alternative
> "python2.6" dependency. While python2.6 also ships a json module, it has
> at least a different module name, and possibly even a different API.
> (LP: #510129)
I believe it has the same API, I've seen code that does
try:
import json
except ImportError:
import simplejson as json
On Mon, 25 Jan 2010 08:10:09 -0000, Launchpad Bug Tracker <email address hidden> wrote:
> This bug was fixed in the package python-launchpadlib - 1.5.4-1ubuntu1
>
> ---------------
> python-launchpadlib (1.5.4-1ubuntu1) lucid; urgency=low
>
> * debian/control: Always depend on python-simplejson, drop the alternative
> "python2.6" dependency. While python2.6 also ships a json module, it has
> at least a different module name, and possibly even a different API.
> (LP: #510129)
I believe it has the same API, I've seen code that does
try:
import json
except ImportError:
import simplejson as json
and then uses json throughout.
Thanks for fixing this though.
James