[Patches] [ python-Patches-562987 ] Remove UserDict from cookie.py

noreply@sourceforge.net noreply@sourceforge.net
Fri, 31 May 2002 10:04:28 -0700


Patches item #562987, was opened at 2002-05-31 13:00
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=562987&group_id=5470

Category: Library (Lib)
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
>Assigned to: Nobody/Anonymous (nobody)
Summary: Remove UserDict from cookie.py

Initial Comment:
Inherit from dict rather than UserDict.
Replace for k in d.keys() with for k in d.

Regression tests okay.
Slightly shorter, faster, cleaner code.
Doesn't conflict with docs.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-31 13:04

Message:
Logged In: YES 
user_id=6380

I'm not the right person to review this; I've never used the
Cookie module and don't know what the consequences of this
change might be.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=562987&group_id=5470