Armin Rigo <[email protected]> added the comment: Hi! Thanks for the bug report. It's unclear if we'll ever fix this, as it may be relying on "obscure details" of ctypes, but we'll try to. It involves reading carefully the docs for what you are or are not allowed to do in an errcheck, and what the "paramflags" is at all.
I suppose I should mention CFFI here as a clearer way to write this down: it doesn't have the same obscure bits of functionality, but encourages you to write wrapper functions in pure Python. These do explicitly what you want, rather than relying on callbacks invoked for you. ---------- nosy: +arigo status: unread -> chatting ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1655> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
