The memsavep python binding to libpanda fails in Python3, seemingly because the fileno() returns a file descriptor but the underlying C function expects a 'FILE *'.
I attempted a ctypes call to fdopen to dereference the file descriptor to a 'FILE ' but get a casting error where it actually returns a LP_FILE and not a 'FILE '.
The memsavep python binding to libpanda fails in Python3, seemingly because the fileno() returns a file descriptor but the underlying C function expects a 'FILE *'.
I attempted a ctypes call to fdopen to dereference the file descriptor to a 'FILE ' but get a casting error where it actually returns a LP_FILE and not a 'FILE '.