This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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:52serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, larry, abacabadabacaba, ethan.furman, python-dev
2015-03-25 18:46:52serhiy.storchakasetmessageid: <>
2015-03-25 18:46:52serhiy.storchakalinkissue22609 messages
2015-03-25 18:46:52serhiy.storchakacreate