>> It appears SimpleJSON is now a "batteries included" library with
>> Python 2.6...although now just known as simply "json". I know TG2 has
>> been shown to work with Python 2.6 already, but I am curious if the
>> SimpleJSON dependency will be replaced with the built in json library
>> in future versions.

This will likely happen in the future, but for now the simplejson in
the TG2 repository is significantly faster than the one in python 2.6.
 2.6.1 will include the faster version, and that seems like it might
be the time by which we'll want to make the change.


> try:
>   import json
> except ImportError:
>   import simplejson as json
>
> usually fixes the issue - unless the api changed. But given the primitiveness
> of simplejson, I doubt that this is the case, and if, it's trivial to work
> around.

Yea, that works.  But as I said, there's a performance reason for
using the eggs rather than the stuff in 2.6.

--Mark

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to