[Python-Dev] Opinions on const-correctness?

Greg Ewing greg@cosc.canterbury.ac.nz
Wed, 13 Mar 2002 14:11:51 +1300 (NZDT)


Tim Peters <tim.one@comcast.net>:

> -1.  A lot of files go in to "Python.h", and I have a nagging suspicion
> you're not volunteering to keep the new mass of almost-duplicates in synch
> as time drags on <wink>.

No, but I'd volunteer to write the following piece
of header code to replace the existing Python.h:

#define const
#include "Python_const.h"

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+