[Python-checkins] CVS: python/dist/src/Misc NEWS,1.265,1.266
Tim Peters
tim_one@users.sourceforge.net
2001年10月01日 20:53:43 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv5055/python/Misc
Modified Files:
NEWS
Log Message:
SF patch [#466616] Exclude imported items from doctest,
from Tim Hochberg. Also mucho fiddling to change the way doctest
determines whether a thing is a function, module or class. Under 2.2,
this really requires the functions in inspect.py (e.g., types.ClassType
is close to meaningless now, if not outright misleading).
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.265
retrieving revision 1.266
diff -C2 -d -r1.265 -r1.266
*** NEWS 2001年10月01日 17:58:40 1.265
--- NEWS 2001年10月02日 03:53:41 1.266
***************
*** 13,16 ****
--- 13,19 ----
Library
+ - doctest now excludes functions and classes not defined by the module
+ being tested, thanks to Tim Hochberg.
+
- quopri's encode and decode methods take an optional header parameter,
which indicates whether output is intended for the header 'Q' encoding.