[Web-SIG] Time a for JSON parser in the standard library?
Benji York
benji at benjiyork.com
Thu Apr 10 15:05:05 CEST 2008
Bob Ippolito wrote:
> On Wed, Apr 9, 2008 at 8:04 PM, John Millikin <jmillikin at gmail.com> wrote:
>> For "exception by default" behavior, the library can call
>> warnings.simplefilter ("error", JSONWarning) on initialization. Then
>> we just define various subclasses of JSONWarning for the different
>> warning types (trailing comma, illegal whitespace, NaN etc). If users
>> want to ignore some or all of the warnings, they can specify which (or
>> all). Best of all, it wouldn't require long parameter lists.
>
> That sounds like a really bad idea
Indeed.
--
Benji York
http://benjiyork.com
More information about the Web-SIG
mailing list