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)

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

Attachment: simplejson_1_5.diff added

comment:1 Changed 17 years ago by mir@…

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.)

Changed 17 years ago by mir@…

Attachment: ticket-3320.diff added

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

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

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.

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

Attachment: simplejson_1_5_new.diff added

comment:3 Changed 17 years ago by mir@…

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

thanks, looks good now!

comment:4 Changed 17 years ago by mir@…

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

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

Test to see if I can reopen it

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

Keywords: reopen added

comment:7 Changed 17 years ago by Adrian Holovaty

Resolution: invalid
Status: closedreopened

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

Keywords: reopen removed

comment:9 Changed 17 years ago by Jacob

Resolution: fixed
Status: reopenedclosed

Fixed in [4454].

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