[Python-Dev] Add const to python API (original) (raw)
Barry Scott barry at barrys-emacs.org
Sat Oct 31 11:07:12 CET 2009
- Previous message: [Python-Dev] Add const to python API - issue 6952
- Next message: [Python-Dev] Volunteer needed to organize summits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 22 Oct 2009, at 20:31, Barry Scott wrote:
On 21 Oct 2009, at 06:15, Martin v. Löwis wrote:
I suggest following POSIX's lead and omitted the const in these cases. Ah... Yes I see this in strstr for example.
Thanks, that sounds reasonable. This is basically what I have done in the patch I hope. I have updated the patch to include a comment explaining why output param is char ** and the need for a cast.
Have I address the issues sufficiently for the patch to be accepted?
Should I go ahead a create the python 3 version of the patch?
Barry
- Previous message: [Python-Dev] Add const to python API - issue 6952
- Next message: [Python-Dev] Volunteer needed to organize summits
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]