Subject: bug#10167: 23.3; python.el code execution does not add the buffers directory to the pythonpath.

From: Glenn Morris <[email-masked]>
Date: Fri, 09 Dec 2011 15:24:07 -0500

Arne Babenhauserheide wrote:

> When calling python-send-buffer, the behaviour of the code differs
> from actual code execution, because the parent directory of the file is
> not in the PYTHONPATH. 

I think this might be intentional?

http://lists.gnu.org/archive/html/emacs-devel/2008-09/msg00215.html