[Python-checkins] python/dist/src/Lib copy.py,1.29,1.30

loewis@users.sourceforge.net loewis@users.sourceforge.net
Thu, 16 Jan 2003 02:40:02 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv28418/Lib

Modified Files:
	copy.py 
Log Message:
Support copying booleans. Fixes #668925.


Index: copy.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/copy.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** copy.py	12 Aug 2002 20:20:08 -0000	1.29
--- copy.py	16 Jan 2003 10:40:00 -0000	1.30
***************
*** 97,100 ****
--- 97,101 ----
  d[types.LongType] = _copy_atomic
  d[types.FloatType] = _copy_atomic
+ d[types.BooleanType] = _copy_atomic
  try:
      d[types.ComplexType] = _copy_atomic
***************
*** 197,200 ****
--- 198,202 ----
  d[types.LongType] = _deepcopy_atomic
  d[types.FloatType] = _deepcopy_atomic
+ d[types.BooleanType] = _deepcopy_atomic
  try:
      d[types.ComplexType] = _deepcopy_atomic