Fwd: [IPython-dev] frontend namespace flattened (major change)

FYI: Since we import from the notebookapp, we will have to change eventually, but we don't now since that construction is backwards compatible. ---------- Forwarded message ---------- From: Paul Ivanov <pi@berkeley.edu> Date: Fri, Jun 28, 2013 at 3:30 PM Subject: [IPython-dev] frontend namespace flattened (major change) To: IPython developers list <ipython-dev@scipy.org> Hey everyone, we've just landed PR #3450: https://github.com/ipython/ipython/pull/3450 To quote Fernando:
Here's the rundown of name changes: Old name -> New name IPython.frontend.* -> IPython.* IPython.frontend.html.notebook -> IPython.html With only one exception, you do not have to make any immediate changes to your code in order for it to continue working, but will see deprecation warnings The one exception is described by Min in a comment on the PR which I am inlining here:
One issue that we ran into that you should be sure to remove the frontend/ directory, and clean up all .pyc files that may be lying around. This command should do the trick: rm -fr IPython/frontend; find -name \*.pyc -exec rm {} \; best, -- _ / \ A* \^ - ,./ _.`\\ / \ / ,--.S \/ \ / `"~,_ \ \ __o ? _ \<,_ /:\ --(_)/-(_)----.../ | \ --------------.......J Paul Ivanov http://pirsquared.org _______________________________________________ IPython-dev mailing list IPython-dev@scipy.org http://mail.scipy.org/mailman/listinfo/ipython-dev

Hi Matthew, On Fri, Jun 28, 2013 at 4:31 PM, Matthew Turk <matthewturk@gmail.com> wrote:
Yup, we went through those contortions with a fairly opaque bit of code precisely so we wouldn't just break everyone's code left and right. We try to keep the project moving forward, but we're also very mindful of the fact that IPyhton's value lies in what others can do with it. If we just annoy every downstream project all the time, we'd just have a perfect pearl that nobody would want to touch :) Cheers, f
participants (2)
-
Fernando Perez
-
Matthew Turk