make ipython const