New submission from Bar Harel <bzvi7...@gmail.com>:
Unlike dict, UserDict.__missing__ is called on .get(). After a discussion on the Python-Dev mailing list, mimicking dict's behavior was chosen as a solution to the issue. ---------- components: Library (Lib) messages: 359633 nosy: bar.harel priority: normal severity: normal status: open title: Fix UserDict.get to account for __missing__ type: behavior versions: Python 3.7, Python 3.8, Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39264> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com