v = json.loads("{'test':'test'}")

Steve Holden steve at holdenweb.com
Sun Jan 25 19:04:44 EST 2009


Andreas Waldenburger wrote:
> On Sun, 25 Jan 2009 23:51:41 +0100 "Diez B. Roggisch"
> <deets at nospam.web.de> wrote:
> 
>> gert schrieb:
>>> {'test': 'test'}
>>> {"test": "test"}
>>>
>>> It can not be that hard to support both notation can it ?
>> It's not hard, but it's not standard-conform.
>>
> OK, playing the devil's advocate here: Doesn't practicality beat purity?
> 
It's not practical to expect a standard to be rewritten to conform with
the ideas of one individual, as well as all the implementations of that
standard.

regards
 Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC              http://www.holdenweb.com/




More information about the Python-list mailing list