##// END OF EJS Templates
Ensure handler patterns are str, not unicode...
Ensure handler patterns are str, not unicode Python < 2.6.5 doesn't accept unicode keys in f(**kwargs), and base_project_url will always be unicode, which will in turn make the patterns unicode, and ultimately result in unicode keys in kwargs to handler._execute(**kwargs) in tornado. This enforces that base_project_url be ascii in that situation. Note that the URLs these patterns check against are escaped, and thus guaranteed to be ASCII: 'héllo' is really 'h%C3%A9llo'. If you actually use u'héllo' in your regex, it will not match the URLs you think it should.
MinRK -
r6067:24a6c071
Show More
Name Size Modified Last Commit Author
/ IPython / deathrow
gui
oldfrontend
tests
Gnuplot2.py Loading ...
GnuplotInteractive.py Loading ...
GnuplotRuntime.py Loading ...
PhysicalQInput.py Loading ...
PhysicalQInteractive.py Loading ...
Shell.py Loading ...
__init__.py Loading ...
astyle.py Loading ...
dtutils.py Loading ...
ibrowse.py Loading ...
igrid.py Loading ...
igrid_help.css Loading ...
igrid_help.html Loading ...
ipipe.py Loading ...
iplib.py Loading ...
ipy_constants.py Loading ...
ipy_defaults.py Loading ...
ipy_kitcfg.py Loading ...
ipy_legacy.py Loading ...
ipy_p4.py Loading ...
ipy_profile_none.py Loading ...
ipy_profile_numpy.py Loading ...
ipy_profile_scipy.py Loading ...
ipy_profile_sh.py Loading ...
ipy_profile_zope.py Loading ...
ipy_traits_completer.py Loading ...
ipy_vimserver.py Loading ...
ipython-wx Loading ...
ipythonx Loading ...
numeric_formats.py Loading ...
numutils.py Loading ...
outputtrap.py Loading ...
quitter.py Loading ...
scitedirector.py Loading ...
twshell.py Loading ...