Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Annoyingly the keywords variant is the most interesting to expose :-) due to 
the complexity of correctly interpreting keyword arguments.

I agree that we should be careful in exposing the APIs using _PyArg_Parser, 
although it should be easer to expose it only in the non-stable ABI because 
extensions should be recompiled for new python releases anyway.

That said, I won't work on this issue myself (or at least not anytime soon). My 
current use case doesn't use keyword arguments, and open coding the calls to 
PyArg_ParseTuple is easy enough for now (even if that leads to more 
boilerplate).

----------

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

Reply via email to