Guido van Rossum added the comment: On 9/20/07, Raghuram Devarakonda <[EMAIL PROTECTED]> wrote: > Shouldn't the first clear() in the patch say "del > self.data[key.upper()]" instead of "del self.data[key]"? I also think > the patch should include doc change.
I don't think so -- it goes over self.data.keys() which means they are already uppercase. All of this would be unnecessary if clear() in UserDict were to be changed to for key in self.keys(): del self[key] But that's a much more pervasive change... __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1181> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com