GNU bug report logs - #5756
24.0.50; reloading files in python3

Previous Next

Package: emacs;

Reported by: Alex Harsanyi <harsanyi <at> mac.com>

Date: Tue, 23 Mar 2010 12:15:02 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 5756 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Alex Harsanyi <harsanyi <at> mac.com>
Cc: 5756 <at> debbugs.gnu.org
Subject: Re: 24.0.50; reloading files in python3
Date: Sun, 22 Aug 2010 19:51:52 -0400
> Reloading a python file into the current interpreter using C-c C-l fails
> for python3.  To test it, create a file hello.py with the contents:
>
> def Hello():
>     print ("Hello World");
>
> and load it into the python interpreter using C-c C-l.  Modify the file,
> than try to load it again.  The python interpreter will fail with an
> exception about reload() not being defined.

Thanks.  I've checked in the fix you suggested into the emacs-23 branch.

> I'm not sure if it is correct if emacs3.py is re-generated from
> emacs2.py as the comment in the header states.

I don't see any better solution, so I've removed the comment.




This bug report was last modified 14 years and 331 days ago.

Previous Next


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