r/IPython • • May 24 '14

IPython 2.1.0 Released

https://pypi.python.org/pypi/ipython/2.1.0
14 Upvotes

8 comments sorted by

3

u/comand May 24 '14

Every time I see a new IPython release, I'm even sadder that I'm stuck on Python 2.6 at work.

2

u/drfeelmath May 25 '14

How about this one, we have 2.7 at my job but our linux boxes are too damn old to compile zeromq so no notebooks!

2

u/BeatLeJuce May 26 '14 edited May 26 '14

You don't lose out on much. IPython 2 has a few nice features, but I personally feel that the notebook UI itself has actually degraded to the point where I'm thinking about going back to IPython 1.0: Command vs. Edit mode is a gigantic fuckup that constantly gets in the way, and has lead to me unrecoverably deleting important cells in my notebooks every now and then, once without me even noticing! Plus the "insert cell above this" button is gone, and I still miss it dearly.

2

u/[deleted] May 26 '14

Out of curiosity and also I would like to avoid the same situation, how are you accidentally deleting cells? Don't you either have to hit ESC then DD or ctrl+m then DD? I haven't used 2.0 extensively enough to give it a fair assessment. The one thing that I need to figure out is how to change the border line color around the active cell when I'm using a CSS theme with a dark background. I can see myself mistakenly think a cell is active and when I go try to delete it, I delete the other cell which was actually active.

1

u/BeatLeJuce May 26 '14 edited May 26 '14

You're right, this only happens if you're in the command mode without realizing it. For me, this does happen from time to time. Situations where this happens include (most of them do not happen very often):

  • The largest culprit by far for me is that I'm using the "insert Cell Below" button a lot. This will always put you in command mode.

  • Clicking on the "output" part of a cell instead of the "input" part will put you in command mode

  • Changing the type of a cell via shortcuts. For this to work, you'll have to type "CTRL+M M" for markdown or "CTRL+M 1" for heading 1, which will obviously put you in command mode.

  • hitting Esc thinking another window has the focus, sometimes it isn't really (yes, this one is very stupid on my part)

  • going Shift-Enter after you've executed a Markdown-cell (or heading-cell) will put you out of edit mode.

Once your in command mode, it's just a matter of forgetting that you need to enter edit mode before starting typing. As you pointed out "DD" is a deadly combination, but so is XX. Most importantly you don't need to type in the two letters right after one another. Typing e.g. "deed" will also do the deed (since "e", like many other letters is not a shortcut, this will have the same effect as typing "dd").

Getting out of "edit mode" does happen sometimes (and is already annoying enough for me), but losing cells is a very rare event. But I've been bitten by it twice since it came out, and that's enough to make me hate the whole "feature" with fervor.

2

u/[deleted] May 25 '14

Thanks for the Firefox fixes. Now I can go back to using Firefox.

1

u/dhammack May 25 '14

Anyone know where to find a change log?