[issue5889] Extra comma in enum - fails on AIX

2009-05-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: The comma isn't required, but it's good practice in Python to end lists with a comma (so that you don't forget adding it when adding new items), and this habit probably made it into C code there. Fixed in r72159. -- nosy: +georg.brandl

[issue5889] Extra comma in enum - fails on AIX

2009-05-01 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: Georg, should this fix also be applied to the py3k branch as I am able to repro this on 3.1a2? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5889

[issue5889] Extra comma in enum - fails on AIX

2009-05-01 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Yes, in fact it already has been merged. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5889 ___

[issue5889] Extra comma in enum - fails on AIX

2009-04-30 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: cc_r -qlanglvl=ansi -c -DNDEBUG -O -I. -IInclude -I./Include -DPy_BUILD_CORE -o Objects/unicodeobject.o Objects/unicodeobject.c Objects/stringlib/string_format.h, line 37.15: 1506-275 (S) Unexpected text ',' encountered. make:

[issue5889] Extra comma in enum - fails on AIX

2009-04-30 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: typedef enum { ANS_INIT, ANS_AUTO, ANS_MANUAL, --- Extra comma need to be removed } AutoNumberState; /* Keep track if we're auto-numbering fields */ -- ___ Python tracker