[Patches] [ python-Patches-1367717 ] cgi: replace usage of UserDict with new dict class

SourceForge.net noreply at sourceforge.net
Sun Dec 4 15:46:12 CET 2005


Patches item #1367717, was opened at 2005-11-27 21:30
Message generated for change (Comment added) made by tds33
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1367717&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
>Status: Closed
Resolution: None
>Priority: 1
Submitted By: Wolfgang Langner (tds33)
Assigned to: Nobody/Anonymous (nobody)
Summary: cgi: replace usage of UserDict with new dict class

Initial Comment:
replaces UserDict with new dict base class.

Patch against python subversion repository
revision 41544

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

>Comment By: Wolfgang Langner (tds33)
Date: 2005-12-04 15:46

Message:
Logged In: YES 
user_id=600792

Yes it could break old code.
And yes it is not worth changing this class. I missed the
comment.
This was aplphabeticaly the first module with usage of
UserDict and so my first choice for change. :-)
So I close this patch.

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

Comment By: Raymond Hettinger (rhettinger)
Date: 2005-11-30 05:28

Message:
Logged In: YES 
user_id=80475

Wouldn't this change public cgi classes from old-style to
new-style?  Could it break user subclasses?  Could it break
code relying on the existence of self.data (which is
unfortunately not a private variable name)?  If so, I don't
it is worth changing classes that are already documented as
obsolete.



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

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


More information about the Patches mailing list