On Mon, Dec 1, 2008 at 3:03 PM, Malcolm Tredinnick
<[EMAIL PROTECTED]> wrote:
>
> On Sun, 2008-11-30 at 23:51 -0600, James Bennett wrote:
>> Apologies for bringing this up past the 1.1 feature deadline, but
>> since this isn't a feature perhaps it'll be OK :)
>>
>> Currently, Django bundles a copy of simplejson[1], at
>> django.utils.simplejson. We use this solely in the serialization
>> system to support dumping to and loading from JSON fixtures.
...
>> The only remaining argument I can see against unbundling simplejson is
>> that it would break backwards compatibility in the 1.x release
>> series.
>
> It also costs us essentially nothing not to do. Will be interesting to
> see how people fall out on this, although I really think it's not
> particularly necessary at the moment.
>
> Personally, if, in some distant future, we choose to remove it... meh.
> But not at all worth worrying about in the near future, as far as I can
> see.

I have to say I agree with Malcolm. I don't believe we are currently
hampered in any real way by bundling an old version of the SimpleJSON
library, and it doesn't take that much effort to update the bundled
version of SimpleJSON when the time comes.

On the other hand: at present, the only prerequisite for running the
system test suite is a database backend, and not even that if you're
running Python 2.5 and SQLite. If we stopped packaging SimpleJSON with
Django, a great chunk of the system test suite would no longer work
out of the box. On top of that, no matter obvious we make the error
message, we're going to get "Why doesn't my fixture load" questions on
Django-users.

IMHO, the suggestions hovering around #9266 and the related mailing
list threads - that users should be able to override the bundled
version of SimpleJSON - have merit, and it looks like Malcolm has a
handle on how to make this approach happen. However, completely
removing SimpleJSON seems like asking for a world of pain, with no
real gain.

Yours,
Russ Magee %-)

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

Reply via email to