From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Emacs 23.2.91 pretest Date: Sun, 12 Dec 2010 20:39:37 +0900 Message-ID: <87hbejrzie.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87sjy5o387.fsf@stupidchicken.com> <83ipz0vg6q.fsf@gnu.org> <8szkschyp2.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1292155068 8486 80.91.229.12 (12 Dec 2010 11:57:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Dec 2010 11:57:48 +0000 (UTC) Cc: Eli Zaretskii , schwab@linux-m68k.org, cyd@stupidchicken.com, emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 12 12:57:43 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PRkYf-0003g2-Nl for ged-emacs-devel@m.gmane.org; Sun, 12 Dec 2010 12:57:41 +0100 Original-Received: from localhost ([127.0.0.1]:49718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRkYf-0000EI-CV for ged-emacs-devel@m.gmane.org; Sun, 12 Dec 2010 06:57:41 -0500 Original-Received: from [140.186.70.92] (port=35908 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PRkYX-0000AC-A2 for emacs-devel@gnu.org; Sun, 12 Dec 2010 06:57:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PRkYW-00082X-2k for emacs-devel@gnu.org; Sun, 12 Dec 2010 06:57:33 -0500 Original-Received: from [130.158.254.170] (port=52928 helo=dmail01.cc.tsukuba.ac.jp) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PRkYU-0007zZ-HH; Sun, 12 Dec 2010 06:57:30 -0500 Original-Received: from imss12.cc.tsukuba.ac.jp (unknown [130.158.254.130]) by dmail01.cc.tsukuba.ac.jp (Postfix) with ESMTP id 7179BE0118; Sun, 12 Dec 2010 20:41:50 +0900 (JST) Original-Received: from imss12.cc.tsukuba.ac.jp (imss12.cc.tsukuba.ac.jp [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 6E7E02AF543; Sun, 12 Dec 2010 20:41:31 +0900 (JST) Original-Received: from mgmt1.sk.tsukuba.ac.jp (unknown [130.158.97.223]) by imss12.cc.tsukuba.ac.jp (Postfix) with ESMTP id 5E6EF2AF542; Sun, 12 Dec 2010 20:41:31 +0900 (JST) Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 59B423FA053A; Sun, 12 Dec 2010 20:41:31 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 0CA10129CBF; Sun, 12 Dec 2010 20:39:38 +0900 (JST) In-Reply-To: <8szkschyp2.fsf@fencepost.gnu.org> X-Mailer: VM undefined under 21.5 (beta29) "garbanzo" ed3b274cc037 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:133624 Archived-At: 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).