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

Format units "Z" and "Z#" in PyArg_Parse* return a pointer to immutable 
internal data. Therefor the result of the Py_UNICODE converter in Argument 
Clinic should has type "const Py_UNICODE *".

This would help to catch the bug reported in issue31446.

----------
assignee: serhiy.storchaka
components: Argument Clinic
messages: 331787
nosy: larry, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Argument Clinic should use "const Py_UNICODE *" for the Py_UNICODE 
converter
type: behavior
versions: Python 3.7, Python 3.8

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

Reply via email to