anchor.diff:          end;
   
         else
  -        raise Exception.Create('Unhandled type in AppVariantToObject');
  +        raise Exception.Create('Unhandled type in AppVariantToPyObject');
       end;
   end;
   
  
positive.code:   with FEngine do
      case V.Typ of
        avrNil:
          raise Exception.Create('Nil type in AppVariantToObject');
  
        avrInt:
          Result:= PyLong_FromLongLong(V.Int);
  
negative.code:       avdRect:
          Result:= Py_BuildValue('(iiii)', V.Rect.Left, V.Rect.Top, V.Rect.Right, V.Rect.Bottom);
        else
          raise Exception.Create('Unhandled item in AppVariantItemToPyObject');
      end;
  end;
  
  