New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

The proposed PR replaces argument declarations "PyObject **args" with "PyObject 
* const *args". In many cases this can be a pointer to the internal array of 
the tuple object. It is not safe to change it.

PyEval_EvalCodeEx() is the only public function affected by this change, but 
this change is backward compatible. All other affected code is a private C API.

----------
messages: 307795
nosy: serhiy.storchaka, vstinner
priority: normal
severity: normal
status: open
title: Add the const qualifier for PyObject* array arguments
type: enhancement
versions: Python 3.7

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

Reply via email to