You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I keep seeing segfaults when trying to do tab-completion with pyjulia in IPython on OS X, see JuliaPy/pyjulia#132
Interestingly I don't see the problem with normal python3 tab-completion, which makes me wonder if it is an IPython issue? Is there any information I can give that would be useful?
I would guess this is a consequence of the completions being calculated in a separate thread. Apparently prompt_toolkit 2.0 is going to have an option to do completions in the main thread, which I think we'll use.
In the meantime, using jupyter_console might be a workaround - that talks to a kernel process, which runs completions in its main thread.
If it's possible to make any kind of protection for tab completion running in a separate thread from the main interpreter, that would probably help. I don't know if that's something pyjulia can do, though.
Activity
takluyver commentedon Nov 15, 2017
I would guess this is a consequence of the completions being calculated in a separate thread. Apparently prompt_toolkit 2.0 is going to have an option to do completions in the main thread, which I think we'll use.
In the meantime, using
jupyter_consolemight be a workaround - that talks to a kernel process, which runs completions in its main thread.simonbyrne commentedon Nov 15, 2017
Is there anything we can do on the
pyjuliaend to fix this, even if temporarily?takluyver commentedon Nov 15, 2017
If it's possible to make any kind of protection for tab completion running in a separate thread from the main interpreter, that would probably help. I don't know if that's something pyjulia can do, though.
tkf commentedon Jul 31, 2018
I think you can close it now that you have #11177 in master. I just tried it and it worked perfectly. JuliaPy/pyjulia#132 (comment) Thanks a lot!
tkf commentedon Oct 24, 2018
@meeseeksdev close
(Just interested in trying it out 😃 )