Staging
v0.8.1
https://github.com/python/cpython
Revision fb5db7ec58624cab0797b4050735be865d380823 authored by Serhiy Storchaka on 26 October 2020, 06:43:39 UTC, committed by GitHub on 26 October 2020, 06:43:39 UTC
These functions are considered not safe because they suppress all internal errors
and can return wrong result.  PyDict_GetItemString and _PyDict_GetItemId can
also silence current exception in rare cases.

Remove no longer used _PyDict_GetItemId.
Add _PyDict_ContainsId and rename _PyDict_Contains into
_PyDict_Contains_KnownHash.
1 parent 96a9eed
History
Tip revision: fb5db7ec58624cab0797b4050735be865d380823 authored by Serhiy Storchaka on 26 October 2020, 06:43:39 UTC
bpo-42006: Stop using PyDict_GetItem, PyDict_GetItemString and _PyDict_GetItemId. (GH-22648)
Tip revision: fb5db7e
File Mode Size
windows-release
ci.yml -rw-r--r-- 2.6 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 768 bytes
posix-deps-apt.sh -rwxr-xr-x 590 bytes
posix-steps.yml -rw-r--r-- 2.6 KB
pr.yml -rw-r--r-- 2.6 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-release.yml -rw-r--r-- 3.9 KB
windows-steps.yml -rw-r--r-- 1.5 KB

back to top