Message239278
Here is a patch for UserDict, that keep current behavior, but allows to pass keys "self" and "dict" if positional parameter dict is specified.
>>> UserDict(self=42)
{'self': 42}
>>> UserDict({}, dict=42)
{'dict': 42}
>>> UserDict(dict={'a': 42})
{'a': 42} |
|
Date |
User |
Action |
Args |
2015-03-25 18:46:52 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, mark.dickinson, larry, abacabadabacaba, ethan.furman, python-dev |
2015-03-25 18:46:52 | serhiy.storchaka | set | messageid: <1427309212.75.0.848557044566.issue22609@psf.upfronthosting.co.za> |
2015-03-25 18:46:52 | serhiy.storchaka | link | issue22609 messages |
2015-03-25 18:46:52 | serhiy.storchaka | create | |
|