Message8847
This also fails on C Python 2.7
> python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Cookie
>>> C = Cookie.SimpleCookie()
>>> C.load("chips=ahoy; vienna=finger")
>>> C.load(u"chips=ahoy; vienna=finger")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/Cookie.py", line 632, in load
for k, v in rawdata.items():
AttributeError: 'unicode' object has no attribute 'items'
Looking at the implementations for 2.7 and 3.4 it appears that Cookie.load() doesn't support a unicode string as input. |
|
Date |
User |
Action |
Args |
2014-06-29 08:48:26 | indra | set | messageid: <1404031706.39.0.588808190893.issue2114@psf.upfronthosting.co.za> |
2014-06-29 08:48:26 | indra | set | recipients:
+ indra, aksian |
2014-06-29 08:48:26 | indra | link | issue2114 messages |
2014-06-29 08:48:26 | indra | create | |
|