-
-
Notifications
You must be signed in to change notification settings - Fork 320
Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels