##// END OF EJS Templates
Backport PR #6117: Remove / from route of TreeRedirectHandler....
Backport PR #6117: Remove / from route of TreeRedirectHandler. When base_url is set, navigating to http://{url}/{base_url} returns 404 This is due to the TreeRedirectHandler only picking up http://{url}/{base_url}/ and the TrailingSlashHandler being set to {base_url}/.*/. This change will cause http://{url}/{base_url} to correctly redirect to http://{url}/{base_url}/tree, as expected. ...

File last commit:

r11336:24b78a4d
r17364:0d882932
Show More
__main__.py
14 lines | 464 B | text/x-python | PythonLexer
Bradley M. Froehle
Allow starting IPython as `python -m IPython`....
r8667 # encoding: utf-8
"""Terminal-based IPython entry point.
"""
#-----------------------------------------------------------------------------
# Copyright (c) 2012, IPython Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file COPYING.txt, distributed with this software.
#-----------------------------------------------------------------------------
Thomas Kluyver
Use new entry point for python -m IPython
r11336 from IPython import start_ipython
Bradley M. Froehle
Allow starting IPython as `python -m IPython`....
r8667
Thomas Kluyver
Use new entry point for python -m IPython
r11336 start_ipython()