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 rhettinger
Recipients rhettinger, scoder
Date 2013-03-07.08:10:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1362643849.31.0.298139612222.issue17327@psf.upfronthosting.co.za>
In-reply-to
Content
+1 for the idea.

Please change "failobj" to "default" to keep the terminology consistent with the pure Python API.  For reference, here's the code from collections.MutableMapping:

    def setdefault(self, key, default=None):
        try:
            return self[key]
        except KeyError:
            self[key] = default
        return default
History
Date User Action Args
2013-03-07 08:10:49rhettingersetrecipients: + rhettinger, scoder
2013-03-07 08:10:49rhettingersetmessageid: <1362643849.31.0.298139612222.issue17327@psf.upfronthosting.co.za>
2013-03-07 08:10:49rhettingerlinkissue17327 messages
2013-03-07 08:10:49rhettingercreate