[Python-checkins] CVS: python/dist/src/Lib/test test_mutants.py,1.1,1.2
Tim Peters
tim_one@users.sourceforge.net
Thu, 10 May 2001 12:40:32 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv6372/python/dist/src/Lib/test
Modified Files:
test_mutants.py
Log Message:
Repair typos in comments.
Index: test_mutants.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_mutants.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** test_mutants.py 2001/05/10 08:32:44 1.1
--- test_mutants.py 2001/05/10 19:40:30 1.2
***************
*** 4,9 ****
# From SF bug #422121: Insecurities in dict comparison.
! # Safety of code doing comparisons has been an historical Python waak spot.
! # The problem is that comparison of structures in written in C *naturally*
# wants to hold on to things like the size of the container, or "the
# biggest" containee so far, across a traversal of the container; but
--- 4,9 ----
# From SF bug #422121: Insecurities in dict comparison.
! # Safety of code doing comparisons has been an historical Python weak spot.
! # The problem is that comparison of structures written in C *naturally*
# wants to hold on to things like the size of the container, or "the
# biggest" containee so far, across a traversal of the container; but
***************
*** 72,78 ****
# An artificial hashcode is selected at random so that we don't
! # have any systematic relationship between comparsion outcomes
# (based on self.i and other.i) and relative position within the
! # hawh vector (based on hashcode).
self.hashcode = random.randrange(1000000000)
--- 72,78 ----
# An artificial hashcode is selected at random so that we don't
! # have any systematic relationship between comparison outcomes
# (based on self.i and other.i) and relative position within the
! # hash vector (based on hashcode).
self.hashcode = random.randrange(1000000000)