Re: [Tutor] assignment statements in python

2006-06-12 Thread Python
On Mon, 2006-06-12 at 09:37 -0400, Kermit Rose wrote: > > From: Python > Date: 06/11/06 22:59:38 > To: Kermit Rose > Cc: Tutor Python > Subject: Re: [Tutor] assignment statements in python > > > The basic python objects: numbers, strings, and tuples are

Re: [Tutor] assignment statements in python

2006-06-12 Thread Danny Yoo
>> Assignment in Python is not a copy, it is a name binding. Assignment >> creates a name for an object. If you assign the same object to two >> names, they both are bound to the same thing. If the object is mutable, >> like a list, changes to the object will be seen regardless of which >> name

Re: [Tutor] assignment statements in python

2006-06-12 Thread Michael Sullivan
On Sun, 2006-06-11 at 22:14 -0400, Kermit Rose wrote: > Message: 1 > Date: Sun, 11 Jun 2006 06:58:39 -0400 > From: Kent Johnson <[EMAIL PROTECTED]> > Subject: Re: [Tutor] buggy bug in my program > Cc: tutor@python.org > > Assignment in Python is not a copy, it is a name binding. Assignment > cr

Re: [Tutor] assignment statements in python

2006-06-12 Thread Kent Johnson
Kermit Rose wrote: > > Message: 1 > Date: Sun, 11 Jun 2006 06:58:39 -0400 > From: Kent Johnson <[EMAIL PROTECTED]> > Subject: Re: [Tutor] buggy bug in my program > Cc: tutor@python.org > > Assignment in Python is not a copy, it is a name binding. Assignment > creates a name for an object. If y

Re: [Tutor] assignment statements in python

2006-06-11 Thread Python
On Sun, 2006-06-11 at 22:14 -0400, Kermit Rose wrote: > Message: 1 > Date: Sun, 11 Jun 2006 06:58:39 -0400 > From: Kent Johnson <[EMAIL PROTECTED]> > Subject: Re: [Tutor] buggy bug in my program > Cc: tutor@python.org > > Assignment in Python is not a copy, it is a name binding. Assignment > cr

[Tutor] assignment statements in python

2006-06-11 Thread Kermit Rose
Message: 1 Date: Sun, 11 Jun 2006 06:58:39 -0400 From: Kent Johnson <[EMAIL PROTECTED]> Subject: Re: [Tutor] buggy bug in my program Cc: tutor@python.org Assignment in Python is not a copy, it is a name binding. Assignment creates a name for an object. If you assign the same object to two name