[issue21019] PyMethodDef ml_name is char* instead of const char*

2019-03-28 Thread Inada Naoki
Inada Naoki added the comment: It is const char* now. -- nosy: +inada.naoki resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-04-02 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-22 Thread Hristo Venev
Hristo Venev added the comment: g++ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: I still can't reproduce the problem, not even with -Werror: loewis@dinsdale:~$ cat a.c struct Foo{ char *text; }; struct Foo f = { "data" }; int main() { return 0; } loewis@dinsdale:~$ gcc -Wall -Werror -o a a.c loewis@dinsdale:~$ gcc --version gcc (De

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-22 Thread Hristo Venev
Hristo Venev added the comment: error: deprecated conversion from string constant to ‘char*’ I like -Werror. -- ___ Python tracker ___ __

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Why are you suggesting that string literals cannot be used? Works fine for me. -- nosy: +loewis ___ Python tracker ___

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-22 Thread Hristo Venev
Changes by Hristo Venev : -- components: +Extension Modules versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21019] PyMethodDef ml_name is char* instead of const char*

2014-03-22 Thread Hristo Venev
New submission from Hristo Venev: It would be better if string literals could be used there. -- messages: 214451 nosy: h.venev priority: normal severity: normal status: open title: PyMethodDef ml_name is char* instead of const char* ___ Python tracker