These are chat archives for ipython/ipython

25th
Apr 2016
Adrian
@ThiefMaster
Apr 25 2016 11:36 UTC
Hey, is there any way to use "bracketed pastes" (as described in the first paragraph here) in the IPython shell? It would be nice if such a paste would automatically switch into %cpaste mode and execute it when the paste is finished (especially for multiline pastes, for single-line pastes normal behavior would probably be better)
Thomas Kluyver
@takluyver
Apr 25 2016 15:35 UTC
@ThiefMaster Try it in master, we've switched to a library called prompt_toolkit, which works with bracketed paste.
Tomas Ostasevicius
@to266
Apr 25 2016 17:31 UTC
Hopefully it's OK if I point out my question related to multiprocessing and ipyparallel here...
Dave Willmer
@dwillmer
Apr 25 2016 18:42 UTC
@minrk @takluyver - are either of you able to run nosetests ipykernel? mine's just hanging on test embed kernel is basically functional, even on head.
Sylvain Corlay
@SylvainCorlay
Apr 25 2016 18:43 UTC
you need nosetest2
Dave Willmer
@dwillmer
Apr 25 2016 18:43 UTC
ok, cheers
Dave Willmer
@dwillmer
Apr 25 2016 18:52 UTC
same issue with nose2 ipykernel, still hangs on the same test.
Thomas Kluyver
@takluyver
Apr 25 2016 19:37 UTC
It's working for me.
Dave Willmer
@dwillmer
Apr 25 2016 19:44 UTC
ok, thanks
Min RK
@minrk
Apr 25 2016 19:47 UTC
@SylvainCorlay don't need nose2 for ipykernel (yet)
@dwillmer it's working for me with a fresh conda env, installing ipykernel from master.
There's a possibility that kernelspecs on your path are messing it up (this shouldn't be, but that doesn't mean it isn't)
Oh, kernelspecs shouldn't be relevant to the embed_kernel test
Dave Willmer
@dwillmer
Apr 25 2016 19:49 UTC
ok, thanks @minrk!
Min RK
@minrk
Apr 25 2016 19:50 UTC
But perhaps a package upgrade would do it. You can always try running in a fresh env.
Dave Willmer
@dwillmer
Apr 25 2016 19:51 UTC
yep, thanks, have tried fresh conda envs and even fresh clones (Atom was showing a different branch to terminal)
will try a hard reboot
Min RK
@minrk
Apr 25 2016 19:53 UTC
If you comment-out the stdout, stderr=PIPE here you might get a useful error message.
Dave Willmer
@dwillmer
Apr 25 2016 21:28 UTC
thanks for the advice @minrk, tests are passing