[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Odd problem with lists
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Odd problem with lists
- From: andrew baker <failrate@xxxxxxxxx>
- Date: Tue, 14 Dec 2004 21:19:26 -0800
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Wed, 15 Dec 2004 00:20:07 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=t99lC/yUfPXBFd0ihSAu/cc7NGHreeZkDZI/GPTbuqbP8bI74c6bSkF8NfT46jj8IA8SX6BHv6ifj98gkYqjEcg65YiURcYqbS+aumFKB2U3zWy8oJqJycktOAryH7umsvzzGMg4LYSZyc/ZMH5j+1pFz7MA+v+MOSwIjCl+COA=
- In-reply-to: <41BFC86B.641F6FC2@rtccom.net>
- References: <41BFC298.588928BE@rtccom.net> <41BFC86B.641F6FC2@rtccom.net>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Your algorithm is still overly complicated.
On Wed, 15 Dec 2004 00:15:23 -0500, Matt Bailey <mattb@xxxxxxxxxx> wrote:
> Doh, ok, sorry folks, LOL, false alarm........some folks in the chat
> room were kind enough to straighten me out on my misconception of some
> Python basics. :) That is, when doing a = b, a is not a new object (just
> a reference to the old object) unless b is immutable.......and lists are
> mutable. :)
>
> -Matt Bailey
>
--
Andrew Ulysses Baker
"failrate"