iiktn / pybing

Automatically exported from code.google.com/p/pybing
Other
0 stars 0 forks source link

Python 2.6 json compatibility #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi All,

First off, great job with the API.

Python 2.6 includes the simplejson under the name 'json'

proposed:
{{{
import urllib
import httplib2
try:
  import json
except ImportError:
  import simplejson
}}}

Thanks!

-Erik

Original issue reported on code.google.com by ekar...@gmail.com on 12 Jun 2009 at 8:37

GoogleCodeExporter commented 8 years ago
Just fixed in r14. Can someone verify that this works as expected with Python 
2.6?

Original comment by jgeewax on 13 Jun 2009 at 1:00