If a user of django has simplejson installed, django itself will use both the 
stdlib and simplejson. 

On Apr 11, 2013, at 5:54 PM, Alex Gaynor <[email protected]> wrote:

> I basically agree with what Bob said on the ticket, it's unclear to me from 
> your email how this manifests, other than trying to use something from the 
> standard library with simplejson, which is obviously wrong.
> 
> Alex
> 
> 
> On Thu, Apr 11, 2013 at 5:51 PM, Jeremy Dunck <[email protected]> wrote:
>> I've just seen a documented example of this breaking things in the wild.
>> 
>> https://github.com/simplejson/simplejson/issues/37
>> 
>> I think we broke backwards-compat here - django 1.5.1. plus sentry
>> 5.4.5 dies because django's own DjangoJSONEncoder depends on stdlib
>> json, but sentry (and lots of things) use django.utils.simplejson,
>> which uses simplejson if available.
>> 
>> Unfortunately, this is incompatible - we kept utils.simplejson as a
>> compat shim, but I think until it goes away, we should keep using it
>> internally as well.
>> 
>> Alternatives?
>> 
>> --
>> You received this message because you are subscribed to the Google Groups 
>> "Django developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/django-developers?hl=en.
>> For more options, visit https://groups.google.com/groups/opt_out.
> 
> 
> 
> -- 
> "I disapprove of what you say, but I will defend to the death your right to 
> say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
> "The people's good is the highest law." -- Cicero
> GPG Key fingerprint: 125F 5C67 DFE9 4084
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/django-developers?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to