> I'm trying to build Python (2.6) with GCC the option -Wwrite-strings.
>
> 1 - Is there any interest on this?
It might be nice to have, but will certainly come at a cost. So feel
free to try this out; at the end, we might agree that this change is
too intrusive.
> 2 - What should I do for the very common (taken from int_new):
> static char *kwlist[] = {"x", "base", 0};
What's wrong with
static const char *kwlist[] = {"x", "base", 0};
Regards,
Martin
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com