% cat pythonClass.py class A: def __add__(x,y) : return "boo"
Only a few standard methods are implemented. __add__ IIRC isn't.
new P16, 32 # .PerlInt add P16, P18, P17
That's what worries me, and what prompted the question. You don't know at compile-time that the return type should be a PerlInt.
Yes, I've already stated that this needs fixing and I've proposed a scheme how to fix it.
leo