Message45423
Logged In: YES
user_id=139309
Thanks Raymond, I was not aware of dict.__init__'s updating capabilities
when I wrote the patch, and I agree that making the two equivalent is
indeed the right solution. Implementation wise, I believe the right
answer would be to refactor the code such that dict.__init__ calls (the
new) dict.update, not vice versa, for clarity's sake.
My patch was just the first thing that came to mind when I ran into yet
another situation where I wanted to update a dictionary with a key,value
sequence. |
|
Date |
User |
Action |
Args |
2007-08-23 15:32:28 | admin | link | issue904720 messages |
2007-08-23 15:32:28 | admin | create | |
|