Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update zmqshell magics #1791

Merged
merged 5 commits into from May 31, 2012
Merged

update zmqshell magics #1791

merged 5 commits into from May 31, 2012

Conversation

minrk
Copy link
Member

@minrk minrk commented May 30, 2012

These were missed in the Great Magics Reorganization.

Per a FIXME comment, I moved the %guiref magic into usage, and it is only loaded in the
QtConsole.

Small changes needed to enable this:

  • CodeMagics._find_edit_target became a staticmethod, so it could be used by a non-subclass.
  • added a started_kernel signal to the QtKernelManager, so frontends could notice when kernels restart.

minrk added 5 commits May 30, 2012 12:43
create KernelMagics object in zmqshell, and register it.
So that it can be used from other Magics without subclassing
for use notifying of kernel start (principally kernel restart)
@fperez
Copy link
Member

fperez commented May 31, 2012

Test results for commit 69ffb51 merged into master
Platform: linux2

  • python2.7: OK
  • python3.2: OK (libraries not available: matplotlib pygments pymongo qt tornado wx wx.aui)

Not available for testing:

@fperez
Copy link
Member

fperez commented May 31, 2012

I could swear I'd gone through the zmq shell as well in the cleanup, but obviously I didn't (or forgot to commit, or messed up a rebase, who knows). In any case, thanks! Code looks clean, tests OK. Merging now.

fperez added a commit that referenced this pull request May 31, 2012
Update zmqshell magics, this updates the API with the changes from the big magics refactor (these ones were accidentally left out in said work).
@fperez fperez merged commit fa20210 into ipython:master May 31, 2012
@minrk minrk deleted the zmq_magics branch March 31, 2014 23:36
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
Update zmqshell magics, this updates the API with the changes from the big magics refactor (these ones were accidentally left out in said work).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants