diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-29 12:07:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-29 12:07:00 (GMT) |
commit | d20f1095a6a51ee8f41ef445a009d26256e1fa61 (patch) | |
tree | 68686cce3fd886bd818501a8b8f305c5d06d2d49 /Python/dynload_shlib.c | |
parent | 761c641f19838517bcf8df5b91d2eb46880efe68 (diff) | |
download | cpython-d20f1095a6a51ee8f41ef445a009d26256e1fa61.zip cpython-d20f1095a6a51ee8f41ef445a009d26256e1fa61.tar.gz cpython-d20f1095a6a51ee8f41ef445a009d26256e1fa61.tar.bz2 |
bpo-44752: Make rlcompleter not call `@property` methods (GH-27401) (GH-27444)
* rlcompleter was calling these methods to identify whether to add
parenthesis to the completion, based on if the attribute is callable.
* for property objects, completion with parenthesis are never desirable.
* property methods with print statements behaved very strangely, which
was especially unfriendly to language newcomers. <tab> could suddenly
produce output unexpectedly.
(cherry picked from commit 50de8f74f8e92b20e76438c22b6a8f91afd6df75)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Python/dynload_shlib.c')
0 files changed, 0 insertions, 0 deletions