From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Llewellyn Newsgroups: gmane.emacs.bugs Subject: bug#10115: 23.2; NameError: name 'execfile' is not defined Date: Tue, 22 Nov 2011 16:38:38 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044271227e8f8c04b25b4de5 X-Trace: dough.gmane.org 1322008235 13738 80.91.229.12 (23 Nov 2011 00:30:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 23 Nov 2011 00:30:35 +0000 (UTC) To: 10115@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 23 01:30:31 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RT0jO-0003Iz-QJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Nov 2011 01:30:31 +0100 Original-Received: from localhost ([::1]:55191 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT0jO-0001DM-CC for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Nov 2011 19:30:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:40446) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT0dn-0000XT-4q for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 19:24:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RT0dl-0004yH-K9 for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 19:24:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RT0dl-0004yD-CB for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 19:24:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RT0f4-0001Ma-I8 for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 19:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Llewellyn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Nov 2011 00:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10115 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13220079045160 (code B ref -1); Wed, 23 Nov 2011 00:26:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Nov 2011 00:25:04 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RT0e5-0001L9-TY for submit@debbugs.gnu.org; Tue, 22 Nov 2011 19:25:03 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSzwe-0000Ig-1N for submit@debbugs.gnu.org; Tue, 22 Nov 2011 18:40:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSzvI-0005X8-IK for submit@debbugs.gnu.org; Tue, 22 Nov 2011 18:38:45 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:52051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSzvI-0005X4-GO for submit@debbugs.gnu.org; Tue, 22 Nov 2011 18:38:44 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSzvG-00069m-MW for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 18:38:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSzvE-0005Wi-Js for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 18:38:42 -0500 Original-Received: from mail-ww0-f49.google.com ([74.125.82.49]:35698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSzvE-0005Wd-AD for bug-gnu-emacs@gnu.org; Tue, 22 Nov 2011 18:38:40 -0500 Original-Received: by wwe32 with SMTP id 32so992181wwe.30 for ; Tue, 22 Nov 2011 15:38:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=U/kmU6tfCle54bKR2WEaaZP2pXfgWFuBmg7SmBFQzzE=; b=CBriMcY5qExcQlUc/AhFjGLtCqvXVJ0KYy2MaNqKauH1K4waldjiYIT5rVSGfeaT/C oZx1rVFLgbl9EHFc4iUb9a4qul6XjMZiwc0v5KLGHEBrkWvFwRNiQFZe1iPOx3l+CtOh vYv6cALsWXuzUjt22Vf7gAi3b4vUH+mpLesZE= Original-Received: by 10.180.94.71 with SMTP id da7mr21118350wib.29.1322005118750; Tue, 22 Nov 2011 15:38:38 -0800 (PST) Original-Received: by 10.216.187.130 with HTTP; Tue, 22 Nov 2011 15:38:38 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 22 Nov 2011 19:24:59 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 22 Nov 2011 19:26:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Tue, 22 Nov 2011 19:30:28 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54193 Archived-At: --f46d044271227e8f8c04b25b4de5 Content-Type: text/plain; charset=ISO-8859-1 --text follows this line-- This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': ###################################### On new test.py buffer enter hello = 'hello' M-x python3 RET (C-c !) starts a python 3 interpreter: Python 3.2 (r32:88445, Mar 25 2011, 19:28:28) [GCC 4.5.2] on linux2 Upon execute buffer (C-c C-c) in python interpreter: >>> ## executing temporary file /tmp/Python4165i_k.py... Traceback (most recent call last): File "", line 1, in NameError: name 'execfile' is not defined >>> ####################################### If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/share/emacs/23.2/etc/DEBUG. In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.24.4) of 2011-04-04 on rothera, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11001000 configured using `configure '--build' 'i686-linux-gnu' '--build' 'i686-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i686-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Python Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-c C-c M-x r e p o r t - e m a c s - b u g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Wrote /tmp/Python1912Z3C.py Load-path shadows: /usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.2/lisp/textmodes/flyspell /usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.2/lisp/textmodes/ispell Features: (shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils emacsbug imenu python-mode info-look info py-shell-complete derived easymenu edmacro kmacro cl cl-19 cc-cmds cc-engine cc-vars cc-defs regexp-opt ansi-color compile comint ring tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --f46d044271227e8f8c04b25b4de5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable --text follows this line--
This bug report will be sent to the Free Soft= ware Foundation,
not to your local site managers!
Please write in Eng= lish if possible, because the Emacs maintainers
usually do not have tran= slators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug= news group.

Please describe exactly what actions triggered the bug<= br> and the precise symptoms of the bug.=A0 If you can, give
a recipe starti= ng from `emacs -Q':

######################################
On new test.py buffer enter hello =3D 'hello'

M-x python3 = RET=A0 (C-c !) starts a python 3 interpreter:

Python 3.2 (r32:88445, Mar 25 2011, 19:28:28)
[GCC 4.5.2] on linux2=


Upon execute buffer (C-c C-c) in python interpreter:=A0

>>> ## executing temporary file /tmp/Python4165i_k.py...
Traceback (most recent call last):
=A0 File "<stdin>", line 1, in <module>
NameError: name 'execfile' is not defined
>>>


#######################################

If Emacs crashed, an= d you have the Emacs process in the gdb debugger,
please include the out= put from the following gdb commands:
=A0=A0=A0 `bt full' and `xbackt= race'.
For information about debugging Emacs, please read the file
/usr/share/e= macs/23.2/etc/DEBUG.


In GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK= + Version 2.24.4)
=A0of 2011-04-04 on rothera, modified by Debian
Win= dowing system distributor `The X.Org Foundation', version 11.0.11001000=
configured using `configure=A0 '--build' 'i686-linux-gnu' &= #39;--build' 'i686-linux-gnu' '--prefix=3D/usr' '--= sharedstatedir=3D/var/lib' '--libexecdir=3D/usr/lib' '--loc= alstatedir=3D/var/lib' '--infodir=3D/usr/share/info' '--man= dir=3D/usr/share/man' '--with-pop=3Dyes' '--enable-locallis= ppath=3D/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/= local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emac= s/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=3Dyes' '-= -with-x-toolkit=3Dgtk' '--with-toolkit-scroll-bars' 'build_= alias=3Di686-linux-gnu' 'CFLAGS=3D-DDEBIAN -g -O2' 'LDFLAGS= =3D-g' 'CPPFLAGS=3D''

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: en_US.UTF-8
=A0 value of $XMODIFIERS: nil
=A0 loc= ale-coding-system: utf-8-unix
=A0 default enable-multibyte-characters: t=

Major mode: Python

Minor modes in effect:
=A0 tooltip-mod= e: t
=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
= =A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lo= ck-mode: t
=A0 blink-cursor-mode: t
=A0 auto-encryption-mode: t
= =A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:<= br><help-echo> <help-echo> <down-mouse-1> <mouse-1>= C-c
C-c <help-echo> M-x r e p o r t - e m a c s - b u g
<= return>

Recent messages:
For information about GNU Emacs and the GNU system,= type C-h C-a.
Wrote /tmp/Python1912Z3C.py

Load-path shadows:
= /usr/share/emacs/23.2/site-lisp/dictionaries-common/flyspell hides /usr/sha= re/emacs/23.2/lisp/textmodes/flyspell
/usr/share/emacs/23.2/site-lisp/dictionaries-common/ispell hides /usr/share= /emacs/23.2/lisp/textmodes/ispell

Features:
(shadow sort mail-ext= r message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode= mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-d= ate mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1
hex-ut= il hashcash mail-utils emacsbug imenu python-mode info-look info
py-shel= l-complete derived easymenu edmacro kmacro cl cl-19 cc-cmds
cc-engine cc-vars cc-defs regexp-opt ansi-color compile comint ring
tool= tip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting = tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-e= shadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-= lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek r= omanian slovak czech european ethiopic indian cyrillic chinese
case-tabl= e epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
forma= t env code-pages mule custom widget hashtable-print-readable
backquote m= ake-network-process dbusbind system-font-setting
font-render-setting gtk= x-toolkit x multi-tty emacs)



--f46d044271227e8f8c04b25b4de5--