SF patch #1035498: -m option to run a module as a script
(Contributed by Nick Coghlan.)
diff --git a/Misc/NEWS b/Misc/NEWS
index 81db100..9e5477e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@
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 @@
- ``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
-------