Staging
v0.5.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
__init__.py -rw-r--r-- 1.2 KB
__main__.py -rw-r--r-- 3.3 KB
base_events.py -rw-r--r-- 72.1 KB
base_futures.py -rw-r--r-- 1.8 KB
base_subprocess.py -rw-r--r-- 8.6 KB
base_tasks.py -rw-r--r-- 2.4 KB
constants.py -rw-r--r-- 888 bytes
coroutines.py -rw-r--r-- 8.6 KB
events.py -rw-r--r-- 25.8 KB
exceptions.py -rw-r--r-- 1.5 KB
format_helpers.py -rw-r--r-- 2.3 KB
futures.py -rw-r--r-- 13.7 KB
locks.py -rw-r--r-- 14.6 KB
log.py -rw-r--r-- 124 bytes
proactor_events.py -rw-r--r-- 31.5 KB
protocols.py -rw-r--r-- 7.0 KB
queues.py -rw-r--r-- 8.1 KB
runners.py -rw-r--r-- 2.1 KB
selector_events.py -rw-r--r-- 38.6 KB
sslproto.py -rw-r--r-- 26.5 KB
staggered.py -rw-r--r-- 5.9 KB
streams.py -rw-r--r-- 26.0 KB
subprocess.py -rw-r--r-- 7.9 KB
tasks.py -rw-r--r-- 33.3 KB
threads.py -rw-r--r-- 790 bytes
transports.py -rw-r--r-- 10.2 KB
trsock.py -rw-r--r-- 5.7 KB
unix_events.py -rw-r--r-- 50.6 KB
windows_events.py -rw-r--r-- 32.1 KB
windows_utils.py -rw-r--r-- 4.9 KB

back to top