[IPython-dev] possible cpaste bug

Fernando Perez fperez.net at gmail.com
Wed Aug 12 13:51:09 EDT 2009


On Wed, Aug 12, 2009 at 8:38 AM, Robert Kern<robert.kern at gmail.com> wrote:
> On 2009-08-12 07:10 AM, John Hunter wrote:
>> On Wed, Aug 12, 2009 at 12:06 AM, Fernando Perez<fperez.net at gmail.com>  wrote:
>>
>>> Your wish is our command, Dr. Hunter; bug and solution:
>>>
>>> https://bugs.launchpad.net/ipython/+bug/412339
>>> https://code.launchpad.net/~ipython-dev/ipython/cpaste-fixes
>>
>> Ahh this is working perfectly.  Many thanks. I wonder if the silent
>> mode in the original implementation was a design choice or a
>> convenience.
>
> I frequently consider "laziness" to be a design choice. But I do agree that
> echoing by default would be a good idea. It gives the user confidence that the
> pasted code is what the user thought it was.

As you wish, gentlemen:

In [3]: paste
x=1
y=2
print 'x,y',x,y
## -- End pasted text --
x,y 1 2

In [4]: paste -q
x,y 1 2


You can pull again from the branch.

Cheers,

f



More information about the IPython-dev mailing list