These sorts of issues with the IPython API should be reported upstream.