Bob Ippolito wrote:
> On Wed, Apr 9, 2008 at 8:04 PM, John Millikin <[EMAIL PROTECTED]> 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
_______________________________________________
Web-SIG mailing list
[email protected]
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe:
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com