summaryrefslogtreecommitdiffstats
path: root/Python/crossinterp_exceptions.h
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-19 07:01:09 (GMT)
committerGitHub <noreply@github.com>2024-06-19 07:01:09 (GMT)
commit39c3f11f2552f751d7d484d9e27222bcb0a3672e (patch)
tree6d8ca481fa64a3e4250ee844ea0b7e32874fd6b1 /Python/crossinterp_exceptions.h
parenta22eb2f2666c6f0a0ddef7b918222936c71c1ee5 (diff)
downloadcpython-39c3f11f2552f751d7d484d9e27222bcb0a3672e.zip
cpython-39c3f11f2552f751d7d484d9e27222bcb0a3672e.tar.gz
cpython-39c3f11f2552f751d7d484d9e27222bcb0a3672e.tar.bz2
[3.13] gh-120381: Fix inspect.ismethoddescriptor() (GH-120684)
The `inspect.ismethoddescriptor()` function did not check for the lack of `__delete__()` and, consequently, erroneously returned True when applied to *data* descriptors with only `__get__()` and `__delete__()` defined. (cherry picked from commit dacc5ac71a8e546f9ef76805827cb50d4d40cabf) Co-authored-by: Jan Kaliszewski <zuo@kaliszewski.net> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Diffstat (limited to 'Python/crossinterp_exceptions.h')
0 files changed, 0 insertions, 0 deletions