Message239278
| Author | serhiy.storchaka |
|---|---|
| Recipients | abacabadabacaba, ethan.furman, larry, mark.dickinson, python-dev, rhettinger, serhiy.storchaka |
| Date | 2015-03-25.18:46:52 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1427309212.75.0.848557044566.issue22609@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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} |
|
| History | |||
|---|---|---|---|
| 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 | |