◐ Shell
clean mode source ↗

Issue 21021: PyMemberDef name is char* instead of const char*

Issue21021

Created on 2014-03-22 10:15 by h.venev, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (3)
msg214453 - (view) Author: Hristo Venev (h.venev) * Date: 2014-03-22 10:15
It would be better if string literals could be used there.
msg214465 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2014-03-22 11:47
I propose any resolution to issue21019 be applied here as well.
msg407111 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-11-26 23:51
It is const char* now:

https://github.com/python/cpython/blob/f4c03484da59049eb62a9bf7777b963e2267d187/Include/structmember.h#L19
History
Date User Action Args
2022-04-11 14:58:00adminsetgithub: 65220
2021-11-26 23:51:22iritkatrielsetstatus: open -> closed

nosy: + iritkatriel
messages: + msg407111

resolution: fixed
stage: resolved

2014-03-24 01:04:32Arfreversetnosy: + Arfrever
2014-03-22 11:47:47loewissetnosy: + loewis
messages: + msg214465
2014-03-22 10:18:46h.venevsetcomponents: + Extension Modules
versions: + Python 3.4
2014-03-22 10:15:59h.venevcreate