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.

classification
Title: cgi: replace usage of UserDict with new dict class
Type: Stage:
Components: Library (Lib) Versions: Python 2.5
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rhettinger, tds333
Priority: low Keywords: patch

Created on 2005-11-27 20:30 by tds333, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cgi.diff tds333, 2005-11-27 20:30 patch cgi.py replace UserDict with dict class
Messages (3)
msg49134 - (view) Author: Wolfgang Langner (tds333) * Date: 2005-11-27 20:30
replaces UserDict with new dict base class.

Patch against python subversion repository
revision 41544
msg49135 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2005-11-30 04:28
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.

msg49136 - (view) Author: Wolfgang Langner (tds333) * Date: 2005-12-04 14:46
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.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42630
2005-11-27 20:30:32tds333create