Skip to content

Steal features from ptpython :) #419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thomasballinger opened this issue Oct 18, 2014 · 1 comment
Closed

Steal features from ptpython :) #419

thomasballinger opened this issue Oct 18, 2014 · 1 comment
Labels

Comments

@thomasballinger
Copy link
Member

https://github.com/jonathanslenders/python-prompt-toolkit is really good. Some of the things it does would fit well in bpython:

  • Reporting syntax error instead of running code if buffer has syntax error
  • Better highlighting in reverse incremental search
  • proper double-width character treatment

Some things would be bigger changes:

  • real multiline editing
  • code completion from Jedi
  • always-on statusbar like cli.py

Finally, maybe there should be a bpython frontend in python-prompt-toolkit. Undo and our unique history management would be big differences, as would our more-similar-to-vanilla-python approach. I'm not sure if it's worth it if we don't have much to add - but that code is so nice. Building bpython in it is really tempting.

@thomasballinger
Copy link
Member Author

This isn't actionable and is just noise to have on the issue tracker. #321is similar on the syntax error front, proper double-width character treatment is in #414, and we have several related issues for multiline editing (#22 #327 #328). I'm closing this, but am open to all the ideas in it individually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant