bpo-5945: mapping.rst: PyMapping_Check(list) returns 1 by jbarlow83 · Pull Request #144 · python/cpython
jbarlow83
changed the title
mapping.rst: PyMapping_Check(list) returns 1
bpo-5945: mapping.rst: PyMapping_Check(list) returns 1
As discussed below, in Python 3, PyMapping_Check(list) returns 1. This behavior is justified by a developer as consistent with Python 3's internals. It is however surprising to C-API users (speaking from experience) and because it deviates from collections.abc.Mapping. https://mail.python.org/pipermail/python-dev/2009-May/089445.html Squashed a few revisions
akruis pushed a commit to akruis/cpython that referenced this pull request
Dec 20, 2017…iew_new Replace copied code by a limited API function. This fixes the assertion error caused by commit 2eea952.
akruis pushed a commit to akruis/cpython that referenced this pull request
Dec 20, 2017Stackless contributes two tests to builtins: TaskletExit and TaskletExit.__init__. Therefore we have to adjust the limit. Add missing changelog entries (python#143, python#144).
akruis pushed a commit to akruis/cpython that referenced this pull request
Mar 25, 2018akruis pushed a commit to akruis/cpython that referenced this pull request
Mar 25, 2018Stackless contributes two tests to builtins: TaskletExit and TaskletExit.__init__. Therefore we have to adjust the limit. Add missing changelog entries (python#143, python#144). (cherry picked from commit 7327e4b)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters