takluyver/ipython — comment on commit 42432be08d3e350e432da408ba3bb2ddde16a028
File: IPython/core/prefilter.py line 834
By bfroehle:

The lstrip isn't necessary.... or at least we don't use it later on in the_rest.startswith('[')