Any other Python flaws?

Edward C. Jones edcjones at erols.com
Thu Jun 14 21:46:40 CEST 2001


Andrew Kuchling wrote:

> ... Are there any other flaws that should be added?


It follows from some basic concepts of Python that
     "array = ([0] * 10) * 10"
does not behave as usually intended. This is a well-known "dark 
corner" of Python; a place it is simply best to avoid. Is this 
fixable? I think dark corners like this should be documented 
carefully.

Thanks for the wonderful language,
Ed Jones







More information about the Python-list mailing list