Message56063
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... |
|
| Date |
User |
Action |
Args |
| 2007-09-20 17:52:17 | gvanrossum | set | spambayes_score: 0.194576 -> 0.194576 recipients:
+ gvanrossum, draghuram, horcicka |
| 2007-09-20 17:52:17 | gvanrossum | link | issue1181 messages |
| 2007-09-20 17:52:17 | gvanrossum | create | |
|