Any other Python flaws?

jcm grumble at usa.net
Thu Jun 14 16:20:41 EDT 2001


Edward C. Jones <edcjones at erols.com> wrote:

> 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.

For this example, what would you say people would usually expect?



More information about the Python-list mailing list