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
Python4Delphi demo33 (the multi-thread example) (https://blogs.embarcadero.com/learn-how-to-stop-a-thread-inside-python-in-a-delphi-windows-app/) is not working under Delphi 11.1 and Python 3.10.5 (64-bit). When debugged, the function TThreadSortForm.SortModule_GetValue( pself, args : PPyObject ) : PPyObject; cdecl;
throws the exception : "OverflowError: Python int too large to convert to C long".
I don't understand why as the values of arrays are very small ( below 170).
Please help. I need to call Python in multithread.
The text was updated successfully, but these errors were encountered:
Python4Delphi demo33 (the multi-thread example) (https://blogs.embarcadero.com/learn-how-to-stop-a-thread-inside-python-in-a-delphi-windows-app/) is not working under Delphi 11.1 and Python 3.10.5 (64-bit). When debugged, the function TThreadSortForm.SortModule_GetValue( pself, args : PPyObject ) : PPyObject; cdecl;
throws the exception : "OverflowError: Python int too large to convert to C long".
I don't understand why as the values of arrays are very small ( below 170).
Please help. I need to call Python in multithread.
The text was updated successfully, but these errors were encountered: