[issue36641] make docstring in C const

2019-04-16 Thread Inada Naoki
Change by Inada Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue36641] make docstring in C const

2019-04-16 Thread Inada Naoki
Inada Naoki added the comment: New changeset 926b0cb5f688808dc11448a0bf3e452d1b92c232 by Inada Naoki in branch 'master': bpo-36641: Add "const" to PyDoc_VAR macro (GH-12854) https://github.com/python/cpython/commit/926b0cb5f688808dc11448a0bf3e452d1b92c232 -- ___

[issue36641] make docstring in C const

2019-04-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue36641] make docstring in C const

2019-04-16 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue36641] make docstring in C const

2019-04-16 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +12780 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue36641] make docstring in C const

2019-04-16 Thread Inada Naoki
Inada Naoki added the comment: Without any configure options: $ size python python-const textdata bss dec hex filename 2980860 448880 131672 3561412 3657c4 python 3185372 244464 131664 3561500 36581c python-const -- ___ Pyt

[issue36641] make docstring in C const

2019-04-16 Thread Inada Naoki
New submission from Inada Naoki : In most case, docstring in C is constant. Can we add "const"? If we can, it can avoid allocating and copying several KBs. --- a/Include/pymacro.h +++ b/Include/pymacro.h @@ -69,4 +69,4 @@ /* Define macros for inline documentation. */ -#define PyDoc_VAR(name)