Author gvanrossum
Recipients draghuram, gvanrossum, martin.horcicka
Date 2007-09-20.17:52:17
SpamBayes Score 0.194576
Marked as misclassified No
Message-id <ca471dc20709201052g1c903781gea503ab6e3f7f8e6@mail.gmail.com>
In-reply-to <1190310364.31.0.176372318233.issue1181@psf.upfronthosting.co.za>
Content
On 9/20/07, Raghuram Devarakonda <report@bugs.python.org> 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...
History
Date User Action Args
2007-09-20 17:52:17gvanrossumsetspambayes_score: 0.194576 -> 0.194576
recipients: + gvanrossum, draghuram, martin.horcicka
2007-09-20 17:52:17gvanrossumlinkissue1181 messages
2007-09-20 17:52:17gvanrossumcreate