Re: [Python-3000] JSON nit

2008-03-19 Thread Bob Ippolito
On Tue, Mar 18, 2008 at 8:32 PM, <[EMAIL PROTECTED]> wrote: > Regarding putting some JSON implementation in the standard library... > > I suppose anyone who uses JSON is aware of its limitations, but this was a > bit disconcerting: > > >>> simplejson.loads(simplejson.dumps({1: 2})) > {u'

[Python-3000] JSON nit

2008-03-18 Thread skip
Regarding putting some JSON implementation in the standard library... I suppose anyone who uses JSON is aware of its limitations, but this was a bit disconcerting: >>> simplejson.loads(simplejson.dumps({1: 2})) {u'1': 2} Silent type conversion is a Perl thing. I would prefer it if it ra