all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Brendan Miller <catphive@catphive.net>
To: 7454@debbugs.gnu.org
Subject: bug#7454: python.el sys.path improperly removes current working directory
Date: Sat, 20 Nov 2010 16:13:45 -0800	[thread overview]
Message-ID: <AANLkTimDUAmF-PXP3h6qE=+ATnoa1wkz_+ApiPMKqT3T@mail.gmail.com> (raw)

For unknown reasons, python.el's run-python removes the current
working directory from
python's sys.path. This breaks the ability to import other modules in
the current
directory from inferior python sessions.

A more extended discussion is here:
http://stackoverflow.com/questions/2658475/python-mode-import-problem
with a suggested fix.





             reply	other threads:[~2010-11-21  0:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-21  0:13 Brendan Miller [this message]
2010-11-21  1:47 ` bug#7454: python.el sys.path improperly removes current working directory Glenn Morris
2010-11-21 16:08   ` Chong Yidong
2010-11-21 20:09     ` Stefan Monnier
2010-11-21 20:36       ` Brendan Miller
2010-11-21 16:10   ` Chong Yidong
2010-11-21 16:53 ` Chong Yidong

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='AANLkTimDUAmF-PXP3h6qE=+ATnoa1wkz_+ApiPMKqT3T@mail.gmail.com' \
    --to=catphive@catphive.net \
    --cc=7454@debbugs.gnu.org \
    /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.