[Python-Dev] gcc barfs on recent stringobject changes...

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 10 May 2001 12:56:12 +1200 (NZST)


Tim Peters <tim.one@home.com>:

>		PyObject *t = (PyObject *)op;
>    		PyString_InternInPlace(&t);

If you want to keep it all on one line, you could try

	PyString_InternInPlace((PyObject **)&op);

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	   +--------------------------------------+