<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Aug 16, 2011 at 11:59 AM, Massa, Harald Armin &lt;<a href="mailto:chef@ghum.de">chef@ghum.de</a>&gt; wrote:<br>

&gt;&gt;&gt;&gt; class fisch(int):<br>
&gt; ...     def __init__(self, value):<br>
&gt; ...         int.__init__(value)<br>
<br>
</div>You probably mean &quot;int.__init__(self, value)&quot; here.  Your code is buggy :-)<br></blockquote><div><br></div><div>just submitted the fix to the pyPdf author :)  my workaround was </div><div><br></div><div>def __init__(self, value):<br>
       int.__init__(int(value))<br></div><div>.. so that I could run it under PyPy :)</div><div><br></div><div>so, I understand that the cPython behaviour is rather buggy. Good to have another Python implementation :)</div>
<div><br></div><div>Thanks for the fast response,</div><div><br></div><div>Harald</div></div><div><br></div>-- <br>GHUM GmbH<br>Harald Armin Massa<br>Spielberger Straße 49<br>70435 Stuttgart<br>0173/9409607<br><br>Amtsgericht Stuttgart, HRB 734971<br>
-<br>persuadere.<br>et programmare<br>