[Python-checkins] CVS: python/dist/src/Lib/test/output test_mmap,1.7,1.8
Guido van Rossum
gvanrossum@users.sourceforge.net
Sat, 08 Dec 2001 10:03:23 -0800
Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv14386/Lib/test/output
Modified Files:
test_mmap
Log Message:
Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.
This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this). Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right. Apologies if they're
not. This also touches the weakref docs, which contains a sample type
object initializer. It also touches the mmap test output, because the
mmap type's repr is included in that output. It touches object.h to
put the correct description in a comment.
Index: test_mmap
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_mmap,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** test_mmap 2001/11/13 23:11:19 1.7
--- test_mmap 2001/12/08 18:02:51 1.8
***************
*** 1,4 ****
test_mmap
! <type 'mmap'>
Position of foo: 1.0 pages
Length of file: 2.0 pages
--- 1,4 ----
test_mmap
! <type 'mmap.mmap'>
Position of foo: 1.0 pages
Length of file: 2.0 pages