[Python-checkins] CVS: python/dist/src/Misc NEWS,1.87,1.88

Martin v. Löwis python-dev@python.org
Thu, 04 Jan 2001 12:30:58 -0800


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv22388/Misc

Modified Files:
	NEWS 
Log Message:
Recognize pyc files even if they don't end in pyc.
Patch #103067 with modifications as discussed in email.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -r1.87 -r1.88
*** NEWS	2000/12/29 02:06:45	1.87
--- NEWS	2001/01/04 20:30:56	1.88
***************
*** 4,7 ****
--- 4,15 ----
  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,