New submission from Richard Barnes <rbar...@umn.edu>:

PyArg_ParseTupleAndKeywords and PyArg_VaParseTupleAndKeywords currently accept 
`kwlist` as `char **`; however, is not modified by either function. Therefore, 
a `const char **` might be better since this allows calling code to take 
advantage of `const` safety.

----------
components: C API
messages: 395674
nosy: r-barnes
priority: normal
severity: normal
status: open
title: const kwlist for PyArg_ParseTupleAndKeywords and 
PyArg_VaParseTupleAndKeywords
type: security

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

Reply via email to