[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.105, 1.106

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Thu Oct 7 14:00:36 CEST 2004

Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28397

Modified Files:
Log Message:
Add item

Index: whatsnew24.tex
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- whatsnew24.tex	5 Oct 2004 20:23:34 -0000	1.105
+++ whatsnew24.tex	7 Oct 2004 12:00:33 -0000	1.106
@@ -868,6 +868,12 @@
 \item Integer operations will no longer trigger an \exception{OverflowWarning}.
 The \exception{OverflowWarning} warning will disappear in Python 2.5.
+\item The interpreter gained a new switch, \programopt{-m}, that
+takes a name, searches for the corresponding  module on \code{sys.path},
+and runs the module as a script.  For example, 
+you can now run the Python profiler with \code{python -m profile}.
+(Contributed by Nick Coghlan.)
 \item The \function{eval(\var{expr}, \var{globals}, \var{locals})}
 and \function{execfile(\var{filename}, \var{globals}, \var{locals})}
 functions and the \keyword{exec} statement now accept any mapping type

More information about the Python-checkins mailing list