##// END OF EJS Templates
Backport PR #2796: P3K: fix cookie parsing under Python 3.x (+ duplicate import is removed)...
Backport PR #2796: P3K: fix cookie parsing under Python 3.x (+ duplicate import is removed) This fixes ``` WARNING:root:couldn't parse cookie string: b'__utma=96992031.448119963.1345042395.1345203014.1351851470.3; __utmz=96992031.1345042395.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=2456b59cebe2a3c7075c6d3f1d136c36; csrftoken=I9knGxQWHWXSUAeOXihXlzs0IJxbss07' Traceback (most recent call last): File "/Users/kmike/envs/pymorphy-33/lib/python3.3/site-packages/ipython-0.14.dev-py3.3.egg/IPython/frontend/html/notebook/handlers.py", line 441, in _inject_cookie_message self.request._cookies = http.cookies.SimpleCookie(msg) File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/cookies.py", line 476, in __init__ self.load(input) File "/usr/local/Cellar/python3/3.3.0/Frameworks/Python.framework/Versions/3.3/lib/python3.3/http/cookies.py", line 524, in load for key, value in rawdata.items(): AttributeError: 'bytes' object has no attribute 'items' ``` warning under Python 3.x
MinRK -
r9859:0bf51ac4
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 ...