You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BaseCookie.load doesn't create Morsel objects for mappings #49525
The load method, which is also called from the initializer if input is
provided, doesn't create Morsel objects for things other than strs,
because it calls self.update(rawdata), which does not invoke the custom
__setitem__.
The documentation states that when rawdata is not a string, it must be a
dictionary and providing that will be equivalent to doing
Activity
eggy commentedon Feb 15, 2009
The load method, which is also called from the initializer if input is
provided, doesn't create Morsel objects for things other than strs,
because it calls self.update(rawdata), which does not invoke the custom
__setitem__.
The documentation states that when rawdata is not a string, it must be a
dictionary and providing that will be equivalent to doing
So that is what it should do :)
birkenfeld commentedon Sep 4, 2009
Thanks, fixed in r74647.