[Python-checkins] CVS: python/dist/src/Misc NEWS,1.365,1.366
Walter D?rwald
doerwalter@users.sourceforge.net
2002年3月21日 02:38:42 -0800
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv27021/Misc
Modified Files:
NEWS
Log Message:
[Apply SF patch #504943]
This patch makes it possible to pass Warning instances as the first
argument to warnings.warn. In this case the category argument
will be ignored. The message text used will be str(warninginstance).
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.365
retrieving revision 1.366
diff -C2 -d -r1.365 -r1.366
*** NEWS 18 Mar 2002 12:44:08 -0000 1.365
--- NEWS 21 Mar 2002 10:38:40 -0000 1.366
***************
*** 71,74 ****
--- 71,76 ----
- distutils bdist commands now offer a --skip-build option.
+ - warnings.warn now accepts a Warning instance as first argument.
+
Tools/Demos