summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2007-11-18 11:56:28 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2007-11-18 11:56:28 (GMT)
commit327a39b047e3abcecb08aabe4f4fcb683dd06ef5 (patch)
tree07bee72fac09745a9f7309c7b297d4c7e200f658 /Misc
parent5cf449cfb286465cb9b5248dded4fcf96da6cba3 (diff)
downloadcpython-327a39b047e3abcecb08aabe4f4fcb683dd06ef5.zip
cpython-327a39b047e3abcecb08aabe4f4fcb683dd06ef5.tar.gz
cpython-327a39b047e3abcecb08aabe4f4fcb683dd06ef5.tar.bz2
Patch #1739468: Directories and zipfiles containing __main__.py are now executable
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9da2ba8..c474c50 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.6 alpha 1?
Core and builtins
-----------------
+- Patch #1739468: Directories and zipfiles containing a __main__.py file can
+ now be directly executed by passing their name to the interpreter. The
+ directory/zipfile is automatically inserted as the first entry in sys.path.
+
- Issue #1265: Fix a problem with sys.settrace, if the tracing function uses a
generator expression when at the same time the executed code is closing a
paused generator.