diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-10-07 12:00:33 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-10-07 12:00:33 (GMT) |
commit | 5e3f9236c7d8dac5c54786d075cd601b8bafcade (patch) | |
tree | 9d1e6e05ffb88c3dbbedf6cfd2a6cd31737b4d79 | |
parent | db29e0fe8cab58c68d1263487ba5bac7b99c7612 (diff) | |
download | cpython-5e3f9236c7d8dac5c54786d075cd601b8bafcade.zip cpython-5e3f9236c7d8dac5c54786d075cd601b8bafcade.tar.gz cpython-5e3f9236c7d8dac5c54786d075cd601b8bafcade.tar.bz2 |
Add item
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 841837f..2c1972c 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -868,6 +868,12 @@ yellow 5 \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 |