<div dir="ltr"><div>[Tim Peters] </div><blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div>a fundamental use case for Counters is to tally the _number_ of times duplicate keys appear.</div></div></div></div></div></blockquote><div> </div><div>Yes, that's why the default constructor already does just that. </div><div><div><br></div><div>[Tim Peters] <br></div><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">So, e.g., someone will be unpleasantly surprised no matter what</blockquote><div> </div></div><div>Sure, but in <a href="https://www.youtube.com/watch?v=HTLu2DFOdTg&t=24m46s">Hettinger's own words</a> "whenever you have a constructor war, everyone should get their wish". People that want a counting constructor have that,</div><div>people that want the ability to initialize values don't have that.<br><br></div><div>[Tim Peters] <br></div><blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div class="gmail_quote"><div>Counter.fromkeys("aaaaa", 2)<br><br>returned.  "It should set key 'a' to 2!  that's what I said it should do!"  "No!  It should set key 'a' to 10!  that's what a Counter _always_ does - sums the values associated with duplicate keys!"<br></div></div></div></div></div></blockquote><div><br></div><div>I'm tempted to indulge in the meta argument which you're obviously striving to avoid, but I will say this:<br>"that's what a Counter _always_ does" makes no sense. It's *almost* tantamount to saying that all constructors have to do exactly the same thing, which makes multiple constructors useless.<br><br>Technically, there is no constructor for counting by X, but if enough people really wanted that, I suppose a third constructor would be in order.<br></div></div>