An oddity in list comparison and element assignment
Slawomir Nowaczyk
slawomir.nowaczyk.847 at student.lu.se
Thu Jun 1 17:56:10 EDT 2006
On Thu, 01 Jun 2006 13:40:34 -0700
michael.f.ellis at gmail.com wrote:
#> Scott David Daniels wrote:
#> > Would you say that envelope containing five $100 bills is equal to
#> > an envelope containing five $100 bills with different serial numbers?
#> Yes (unless I was testing the assertion that the second envelope did
#> not contain counterfeits of the first)
So, what if Bank of America later decided that bills with serial
numbers containing "7" are no longer valid?
In other word, *if* you assume equality must be preserved by future
modifications, than no two different (modifiable) objects can ever be
really equal.
--
Best wishes,
Slawomir Nowaczyk
( Slawomir.Nowaczyk at cs.lth.se )
I believe that math illiteracy affects 7 out of every 5 people.
More information about the Python-list
mailing list