[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 23.2.91 pretest

From: Stephen J. Turnbull
Subject: Re: Emacs 23.2.91 pretest
Date: Sun, 12 Dec 2010 20:39:37 +0900

Glenn Morris writes:
 > Eli Zaretskii wrote:
 > > Are these files supposed to be compiled at all?
 > Not by any process in the Emacs Makefiles, AFAIK.
 > > If they aren't supposed to be compiled, how did the *.pyc files end up
 > > there?
 > I've always assumed that Python may "helpfully" compile them on the
 > fly the first time they happen to be loaded.

Python doesn't provide a Python interpreter in the sense that Emacs
provides a Lisp interpreter.  Python always runs as bytecode.  If the
directory where the .py file lives is writable and the user doesn't
explicitly specify otherwise, the compiled object is written to disk
as a .pyc or .pyo ("optimized", which basically means no assert code
is compiled).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]