From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <45A67A0A.6030509@cs.cmu.edu> Date: Thu, 11 Jan 2007 12:55:22 -0500 From: Philip Dye User-Agent: Thunderbird 1.5.0.4 (X11/20060614) MIME-Version: 1.0 To: 9fans@cse.psu.edu Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] acid - append to empty list Topicbox-Message-UUID: 01a15f1e-ead2-11e9-9d60-3106f5b1d025 Why does an append to a list variable with no elements not assign the resulting list to the variable ? acid: l={} acid: append l, 1 {0x00000001} acid: l acid: l={1} acid: append l, 1 {0x00000001, 0x00000001} acid: l {0x00000001, 0x00000001} acid: Thanks, Philip Dye