Comment 3 for bug 990079

Revision history for this message
Rick Muller (rpmuller) wrote : Re: [Bug 990079] Re: Output from v6 of python-mode different from v5

Thanks very much, I'll check it out.

On Tue, May 1, 2012 at 2:10 AM, Andreas Roehler
<email address hidden>wrote:

> `python-mode-v5-behavior' now customizable
>
> when `python-mode-v5-behavior' set to `t',
> py-execute-... commands will pipe code through
> `shell-command-to-string', which clears the
> output-buffer before.
>
> This is not the default because of some Unicode related
> error lp:550661, but might be convenient in most cases
>
> Does not work with IPython for the moment
>
> HTH, cheers,
>
> Andreas
>
> ** Changed in: python-mode
> Status: Confirmed => Fix Committed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/990079
>
> Title:
> Output from v6 of python-mode different from v5
>
> Status in An Emacs mode for editing Python code:
> Fix Committed
>
> Bug description:
> In python-mode v5, when I executed py-execute-buffer on a python
> script I would get a split window, viewing a buffer called *Python
> Output*, that had only the output from executing the script, hello
> world, or whatever.
>
> In python-mode v6, when I execute the same script, I get split window
> with a buffer that has a running python shell, with the output
>
>
> Python 2.7.3 (default, Apr 19 2012, 00:55:09)
> [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on
> darwin
> Type "help", "copyright", "credits" or "license" for more information.
> ## executing temporary file
> /var/folders/71/3g808qx93s5_lv0kgpkzy5z80000gp/T/Python25335pPA.py...
> >>> Hello, world
>
> The problem is that the v5 behavior is much more convenient, and I've
> gotten used to running scripts this way. Is there any way to set the
> behavior of v6 back to the way it was in v5?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/python-mode/+bug/990079/+subscriptions
>

--
Rick Muller
<email address hidden>
505-750-7557