>
> On Tue, Aug 16, 2011 at 11:59 AM, Massa, Harald Armin <c...@ghum.de>
> wrote:
> >>>> class fisch(int):
> > ...     def __init__(self, value):
> > ...         int.__init__(value)
>
> You probably mean "int.__init__(self, value)" here.  Your code is buggy :-)
>

just submitted the fix to the pyPdf author :)  my workaround was

def __init__(self, value):
       int.__init__(int(value))
.. so that I could run it under PyPy :)

so, I understand that the cPython behaviour is rather buggy. Good to have
another Python implementation :)

Thanks for the fast response,

Harald

-- 
GHUM GmbH
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607

Amtsgericht Stuttgart, HRB 734971
-
persuadere.
et programmare
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to