[issue6644] cmathmodule.c: Extra comma in enum - fails on AIX

Sridhar Ratnakumar report at bugs.python.org
Tue Aug 4 21:19:56 CEST 2009


New submission from Sridhar Ratnakumar <sridharr at activestate.com>:

Please the remove extra comma in Modules/cmathmodule.c

64 :	 	 	eimes enum special_types {
65 :	 	 	eimes 	ST_NINF,	/* 0, negative infinity 
*/
66 :	 	 	eimes 	ST_NEG,		/* 1, negative finite 
number (nonzero) */
67 :	 	 	eimes 	ST_NZERO,	/* 2, -0. */
68 :	 	 	eimes 	ST_PZERO,	/* 3, +0. */
69 :	 	 	eimes 	ST_POS,		/* 4, positive finite 
number (nonzero) */
70 :	 	 	eimes 	ST_PINF,	/* 5, positive infinity 
*/
71 :	 	 	eimes 	ST_NAN,		/* 6, Not a Number */
72 :	 	 	eimes };

To see why this is necessary, peruse a similar issue reported earlier: 
http://bugs.python.org/issue5889

----------
components: Build, Extension Modules
messages: 91267
nosy: christian.heimes, srid
severity: normal
status: open
title: cmathmodule.c: Extra comma in enum - fails on AIX
type: compile error
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6644>
_______________________________________


More information about the Python-bugs-list mailing list