dartpy icon indicating copy to clipboard operation
dartpy copied to clipboard

pyerr_fetch

Open vmtest888 opened this issue 2 years ago • 2 comments

When an error occurs, use pyerr_ Fetch obtains information and then throws an exception through Dart to make the error more clear

vmtest888 avatar Jan 14 '24 10:01 vmtest888

You are welcome to create a pull request, seems like you know what to do.

TimWhiting avatar Jan 14 '24 14:01 TimWhiting

Another suggestion is that different systems have different ABIs. For example, the wchar in py_setpath is int32 on macos and int16 on windows. We hope to automatically match and convert it from the string type in dart to the corresponding platform type·

vmtest888 avatar Jan 14 '24 15:01 vmtest888