[issue39264] Fix UserDict.get to account for __missing__

2020-01-08 Thread Bar Harel
Bar Harel added the comment: See also bpo-39267 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue39264] Fix UserDict.get to account for __missing__

2020-01-08 Thread Bar Harel
Change by Bar Harel : -- keywords: +patch pull_requests: +17321 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17910 ___ Python tracker ___ __

[issue39264] Fix UserDict.get to account for __missing__

2020-01-08 Thread Bar Harel
New submission from Bar Harel : 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 seve