[Python-Dev] r86355 - python/branches/py3k/Modules/_pickle.c

Stefan Krah stefan-usenet at bytereef.org
Tue Nov 9 18:29:53 CET 2010


Alexander Belopolsky <alexander.belopolsky at gmail.com> wrote:
> On Tue, Nov 9, 2010 at 11:36 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:
> ..
> >> C99 allows it.  Which compiler is giving you trouble?
> >
> > One part of the answer is that we generally try to enforce C89
> > compatibility. I don't know if any modern compiler would mind, though.
> 
> I know, but if we ever start making exceptions, this would be a
> particularly harmless one.  There must be a reason why we don't use
> -std=c89 flag with the standard config.  I don't think too many people
> remember that c89 allows trailing commas in array and struct
> initialization lists, but not in enum declarations.  Without compiler
> help, enforcing this is an unnecessary maintenance burden.

xlc on AIX has problems:

http://bugs.python.org/issue5889


Stefan Krah




More information about the Python-Dev mailing list