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
{{ message }}
Repository navigation
pdb completion menu not honouring prompt_toolkit style #10478
Activity
memeplex commentedon Apr 22, 2017
Well
create_prompt_applicationindebugger.pyis not using the style at all, I will try to fix this and let you know.memeplex commentedon Apr 22, 2017
Well, this was easier than I thought, here is a simple fix:
Problem is
shell._styleis "private", so wouldn't it be desirable to exposeshell.styleasDynamicStyle(lambda:...)? I mean, first:and then just
This looks much cleaner to me. Which one do you prefer? Do you want me to submit a PR or is it ok?
Carreau commentedon Apr 22, 2017
I don't have particular preference. Feel free to send a PR :-)
memeplex commentedon Apr 22, 2017
Also, I'm not really sure keeping
shell._styleas an attribute has any point.Carreau commentedon Apr 23, 2017
Maybe not, there've been a lot of refactor. It's still half a mess and need a lot of cleaning.
memeplex commentedon Apr 23, 2017
It still might be useful as a cache, I guess.
Merge pull request #10479 from memeplex/pdbstyle
Backport PR #10479: Make pdb use pt style. Fixes #10478