GNU bug report logs - #958
Python 2.6b2 interpreter error with `emacs.py'

Previous Next

Package: emacs;

Reported by: mu8ja0i <at> earthlink.net

Date: Thu, 11 Sep 2008 04:55:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 958 in the body.
You can then email your comments to 958 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#958; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to mu8ja0i <at> earthlink.net:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Allan Mui" <mu8ja0i <at> earthlink.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Python 2.6b2 interpreter error with `emacs.py'
Date: Wed, 10 Sep 2008 23:49:00 -0500
I have installed Python 2.6b2 and Emacs 22.3.1 (from binaries in both
cases). When I open `emacs.py' or any other python source file and run
the python interpreter from within emacs I receive the following
error:
 d:\Program Files\GNU\GNU Emacs\emacs-22.3\etc\emacs.py:24:
DeprecationWarning: the sets module is deprecated
  from sets import Set

In GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600)
 of 2008-09-06 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
("D:\\Program Files\\GNU\\GNU Emacs\\emacs-22.3\\bin\\emacs.exe")
Loading encoded-kb...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done

--
Allan J. Mu






Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to mu8ja0i <at> earthlink.net:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 958-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: mu8ja0i <at> earthlink.net
Cc: 958-done <at> debbugs.gnu.org
Subject: Re: bug#958: Python 2.6b2 interpreter error with `emacs.py'
Date: Thu, 11 Sep 2008 19:04:32 -0400
"Allan Mui" wrote:

> I have installed Python 2.6b2 and Emacs 22.3.1 (from binaries in both
> cases). When I open `emacs.py' or any other python source file and run
> the python interpreter from within emacs I receive the following
> error:
>  d:\Program Files\GNU\GNU Emacs\emacs-22.3\etc\emacs.py:24:
> DeprecationWarning: the sets module is deprecated
>   from sets import Set

(This is just a warning, not an error, no?)

Looks like this is already handled in the CVS trunk version, so will
be fixed in Emacs 23.1, via:

try:
    set
except:
    from sets import Set as set




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Fri, 10 Oct 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 310 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.