hydroflask <hydrofl...@yqxmail.com> added the comment:

I don't have github so I can't comment there but just as a nitpick, alloca() 
never returns NULL, so you don't have to check that. I know that is 
inconsistent with its use in callproc.c so for consistency's sake the NULL 
check should stay but I would remove both checks in a future change.

More importantly you can completely avoid the args_stack variable since 
alloca() has the same end affect. I would also add an assert that the number of 
args is <= CTYPES_MAX_ARGCOUNT, that should be the case since GH 31188

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46323>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to