[Python-Dev] cffi in stdlib

Neil Hodgson nyamatongwe at me.com
Thu Feb 28 00:34:56 CET 2013


Armin Rigo:

> So the general answer to your question is: we google MessageBox and
> copy that line from the microsoft site, and manually remove the
> unnecessary WINAPI and _In_opt declarations:

   Wouldn't it be better to understand the SAL annotations like _In_opt so that spurious NULLs (for example) produce a good exception from cffi instead of failing inside the system call?

   Neil



More information about the Python-Dev mailing list