diff options
author | Raymond Hettinger <python@rcn.com> | 2004-10-07 06:46:25 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-10-07 06:46:25 (GMT) |
commit | db29e0fe8cab58c68d1263487ba5bac7b99c7612 (patch) | |
tree | 8ca6ad43fa5c3b9878ccf022f7161be0b6ba8b5e /Misc | |
parent | fb09f0e85cd75ec46700562687a9da3063ff0b7c (diff) | |
download | cpython-db29e0fe8cab58c68d1263487ba5bac7b99c7612.zip cpython-db29e0fe8cab58c68d1263487ba5bac7b99c7612.tar.gz cpython-db29e0fe8cab58c68d1263487ba5bac7b99c7612.tar.bz2 |
SF patch #1035498: -m option to run a module as a script
(Contributed by Nick Coghlan.)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -12,6 +12,9 @@ What's New in Python 2.4 beta 1? Core and builtins ----------------- +- Added a command line option, -m module, which searches sys.path for the + module and then runs it. (Contributed by Nick Coghlan.) + - The bytecode optimizer now folds tuples of constants into a single constant. @@ -29,7 +32,9 @@ Extension modules - ``collections.deque`` objects didn't play quite right with garbage collection, which could lead to a segfault in a release build, or - an assert failure in a debug build. + an assert failure in a debug build. Also, added overflow checks, + better detection of mutation during iteration, and shielded deque + comparisons from unusual subclass overrides of the __iter__() method. Library ------- |