2013/1/24 Steven D'Aprano <span dir="ltr"><<a href="mailto:steve@pearwood.info" target="_blank">steve@pearwood.info</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-1 to adding optional parameters that change the behaviour of a class.</blockquote></div><br>Unfortunately there is a precedent with csv.DictWriter: extrasaction='raise' or 'ignore'.<div>And the feature is close to the one proposed here: how to deal with "invalid" data.<br>
<div><div><br></div>-- <br>Amaury Forgeot d'Arc
</div></div>