summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-01-04 20:30:56 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-01-04 20:30:56 (GMT)
commitbe4c0f56a28831f6121ef545ca8afb44a6723022 (patch)
tree2c919ab3d4d781dfc14e2e1a30a987efa52a80cb /Misc
parentb31d36cf014d832d1f4da753e60e9112a350abc4 (diff)
downloadcpython-be4c0f56a28831f6121ef545ca8afb44a6723022.zip
cpython-be4c0f56a28831f6121ef545ca8afb44a6723022.tar.gz
cpython-be4c0f56a28831f6121ef545ca8afb44a6723022.tar.bz2
Recognize pyc files even if they don't end in pyc.
Patch #103067 with modifications as discussed in email.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS8
1 files changed, 8 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8f66106..d2dfbec 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3,6 +3,14 @@ What's New in Python 2.1 alpha 1?
Core language, builtins, and interpreter
+- The interpreter accepts now bytecode files on the command line even
+ if they do not have a .pyc or .pyo extension. On Linux, after executing
+
+ echo ':pyc:M::\x87\xc6\x0d\x0a::/usr/local/bin/python:' > /proc/sys/fs/binfmt_misc/register
+
+ any byte code file can be used as an executable (i.e. as an argument
+ to execve(2)).
+
- %[xXo] formats of negative Python longs now produce a sign
character. In 1.6 and earlier, they never produced a sign,
and raised an error if the value of the long was too large