Text of bugs.python.org › issue5275 as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Issue 5275: BaseCookie.load doesn't create Morsel objects for mappings - Python tracker

Python Home About News Documentation Downloads Community Foundation Developer's Guide Issue Tracker Issues Search Random Issue Summaries Issues with patch Easy issues Stats User Administration User List Committer List Help Tracker Documentation Tracker Development Report Tracker Problem Issue5275 ➜ This issue tracker has been migrated to GitHub , and is currently read-only . For more information, see the GitHub FAQs in the Python's Developer Guide.

Created on 2009-02-15 22:49 by eggy , last changed 2022-04-11 14:56 by admin . This issue is now closed . Messages (2) msg82177 - (view) Author: Mark Florisson (eggy) * Date: 2009-02-15 22:49 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 for k, v in rawdata.items(): cookie[k] = v So that is what it should do :) msg92243 - (view) Author: Georg Brandl (georg.brandl) * Date: 2009-09-04 08:17 Thanks, fixed in r74647 .

History Date User Action Args 2022-04-11 14:56:45 admin set github: 49525 2009-12-05 21:12:51 amaury.forgeotdarc link issue7446 superseder 2009-09-04 08:17:17 georg.brandl set status: open -> closed nosy: + georg.brandl messages: + msg92243 resolution: fixed 2009-02-15 22:49:50 eggy create Supported by The Python Software Foundation , Powered by Roundup Copyright © 1990-2022, Python Software Foundation Legal Statements