Even with your support, python-mode still gave me the same bug.
I tried to follow the code step by step with edebug, and found the culprit. I think `py-send-string-no-output' has some timing issue.
I set the breakpoint at `py-send-string-no-output`, then typed "socket." and pressed M-TAB:
and followed the control step by step. Then it works perfectly!
If I remove that breakpoint, and set another one in the parent function, `py-shell-completion--get-completion', then
Even with your support, python-mode still gave me the same bug.
I tried to follow the code step by step with edebug, and found the culprit. I think `py-send- string- no-output' has some timing issue.
I set the breakpoint at `py-send- string- no-output` , then typed "socket." and pressed M-TAB:
and followed the control step by step. Then it works perfectly!
If I remove that breakpoint, and set another one in the parent function, `py-shell- completion- -get-completion ', then