On 21 November 2012 09:03, Martin Pool <span dir="ltr">&lt;<a href="mailto:mbp@sourcefrog.net" target="_blank">mbp@sourcefrog.net</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="gmail_extra"><div class="gmail_quote"><div class="im">On 21 November 2012 08:47, Michael <span dir="ltr">&lt;<a href="mailto:mock@webhippo.net" target="_blank">mock@webhippo.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


I would like to respectfully answer this:<br>
 </blockquote></div><div>It doesn&#39;t look like you succeeded in answering respectfully.</div><div class="im"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

 </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

This is a super un-useful answer.<br>
<br>
1. Yes it worked in 0.7.2<br>
2. No the docs did not mention the __init__/super was call was required. For all we knew it was not required.<br>
3. The docs also do not mention like all kinds of things, like that one should step on one foot while using mock ... that does not mean we should do them.</blockquote></div></div></div></blockquote><div><br></div><div>That&#39;s true; nor does it mention you must have Python installed, or your computer must be switched on.  I don&#39;t think it would be useful for every Python library&#39;s documentation to repeat the basics of how to use Python.</div>

<div><br></div><div>I don&#39;t think super constructor calls are an especially well designed aspect of Python, because the default behavior is generally not what you want (not to mention multiple inheritance.)  But, it is what it is, and code that doesn&#39;t call upwards is generally wrong already.</div>

<div><br></div><div>I expect if you sent a patch to Mock that does mention this they&#39;d probably take it.</div></div><div><br></div>-- <br>Martin<br><br>
</div>