[issue44752] Tab completion executes @property getter function
Jack DeVries
report at bugs.python.org
Tue Jul 27 18:39:20 EDT 2021
Jack DeVries <jdevries3133 at gmail.com> added the comment:
Woah, til the python shell has tab completion! This does seem like undesirable behavior. I'd like to work on a fix for this if that's all right, assuming that this behavior should not occur.
I haven't exactly found where the tab autocomplete is implemented, but I'm assuming I'll find in one of the functions I see in the backtrace when I pause python at the interpreter prompt; maybe one of these? (my best quick guesses by function name).
- _PyRun_InteractiveLoopObject
- PyRun_InteractiveOneObjectEx
- interactive_rule
- statement_newline_rule
If anyone can point me in the right direction, that'd be great, and I think I can work on this one tomorrow if that's all right!
----------
nosy: +jack__d
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44752>
_______________________________________
More information about the Python-bugs-list
mailing list