Duncan Booth wrote:
> Heikki Salo wrote:
>
> >
> > And closer look tells that the code should not even compile. Is the
> > code cut & pasted directly? Line "list[i] = item;" tries to assign a
> > pointer to an int-array, which should not compile. There are other
> > similar oddities.
>
> ... such as the declaration of list at a point in the code which is not
> permitted in C, and using a non constant value for the length (which is
> also not allowed).

They are allowed in C99, according to GCC's manual.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to