You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have module with e.g. such func
function xy_pos(Self, Args: PPyObject): PPyObject; cdecl;
var
X, Y, N: Integer;
begin
with GetPythonEngine do
begin
if PyArg_ParseTuple(Args, 'ii:xy_pos', @X, @Y) <> 0 then
begin
N:= X + Y;
Result:= PyInt_FromLong(N);
end;
end;
end;
now i call it from my "console": I enter line into edit, and call
"PythonEngine.ExecString(Str)".
i call: "print(xy_pos('test'))"
expected: TypeError after this call.
seen: this call does NOT give error, but next same call gives TypeError.
I see TypeError each two calls, but now after each signle call.
Delphi7 IDE doesn't give exception TypeError.
Original issue reported on code.google.com by [email protected] on 19 Dec 2013 at 3:33
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 19 Dec 2013 at 3:33The text was updated successfully, but these errors were encountered: