all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: Alex Harsanyi <harsanyi@mac.com>
Cc: 5756@debbugs.gnu.org
Subject: bug#5756: 24.0.50; reloading files in python3
Date: Sun, 22 Aug 2010 19:51:52 -0400	[thread overview]
Message-ID: <87mxsekxyf.fsf@stupidchicken.com> (raw)
In-Reply-To: <64CCAC7D-54C4-45F7-BB72-7B9862EE5FC9@mac.com>

> 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.





      reply	other threads:[~2010-08-22 23:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 11:58 bug#5756: 24.0.50; reloading files in python3 Alex Harsanyi
2010-08-22 23:51 ` Chong Yidong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxsekxyf.fsf@stupidchicken.com \
    --to=cyd@stupidchicken.com \
    --cc=5756@debbugs.gnu.org \
    --cc=harsanyi@mac.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.