Opened 17 years ago

Closed 17 years ago

#3320 closed (fixed)

[patch] update simplejson to the 1.5 version

Reported by: LawrenceOluyede <l.oluyede@…> Owned by: Jacob
Component: Core (Serialization) Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Bob Ippolito just released simplejson 1.5, here are the notes:


simplejson 1.5 is a major update that provides better Python 2.5 and Windows compatibility, and two new features that control encoding (indent for pretty-printing, and separators for generating optimally compact JSON).

This patch updates django.utils.simplejson from 1.3 to 1.5

Attachments (3)

simplejson_1_5.diff (12.4 KB ) - added by LawrenceOluyede <l.oluyede@…> 17 years ago.
ticket-3320.diff (33.9 KB ) - added by mir@… 17 years ago.
basically the same patches, but with full paths. Still doesn't work.
simplejson_1_5_new.diff (12.4 KB ) - added by LawrenceOluyede <l.oluyede@…> 17 years ago.

Download all attachments as: .zip

Change History (12)

by LawrenceOluyede <l.oluyede@…>, 17 years ago

Attachment: simplejson_1_5.diff added

comment:1 by mir@…, 17 years ago

Patch needs improvement: set
Resolution: invalid
Status: newclosed

If you run the testsuite, it produces lots of failures. I've used python 2.4. Can you please try to find out why and reopen? It's OK if you can't find out and still want this in, please simply reopen with a comment, and I'll forward it then.

There's a kind of standard for patches, they better are created from the root of the sources, such that we don't have to figure out in which directory the patch should be applied. I'm attaching your patches modified for this (but of course the testsuite still fails.)

by mir@…, 17 years ago

Attachment: ticket-3320.diff added

basically the same patches, but with full paths. Still doesn't work.

in reply to:  1 comment:2 by LawrenceOluyede <l.oluyede@…>, 17 years ago

Replying to mir@noris.de:

If you run the testsuite, it produces lots of failures. I've used python 2.4. Can you please try to find out why and reopen? It's OK if you >can't find out and still want this in, please simply reopen with a comment, and I'll forward it then.

I found out, it was a problem with imports. Now the tests pass.

There's a kind of standard for patches, they better are created from the root of the sources, such that we don't have to figure out in which >directory the patch should be applied. I'm attaching your patches modified for this (but of course the testsuite still fails.)

Done thanks, the new patch should be perfect.

by LawrenceOluyede <l.oluyede@…>, 17 years ago

Attachment: simplejson_1_5_new.diff added

comment:3 by mir@…, 17 years ago

Component: UncategorizedSerialization
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

thanks, looks good now!

comment:4 by mir@…, 17 years ago

oops -- where's the 'reopen' button?

comment:5 by LawrenceOluyede <l.oluyede@…>, 17 years ago

Test to see if I can reopen it

comment:6 by Michael Radziej <mir@…>, 17 years ago

Keywords: reopen added

comment:7 by Adrian Holovaty, 17 years ago

Resolution: invalid
Status: closedreopened

comment:8 by Michael Radziej <mir@…>, 17 years ago

Keywords: reopen removed

comment:9 by Jacob, 17 years ago

Resolution: fixed
Status: reopenedclosed

Fixed in [4454].

Note: See TracTickets for help on using tickets.
Back to Top