Skip to content

Prompt hangs when trying to display text (only in Python 3) #730

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
amjith opened this issue Feb 10, 2018 · 2 comments
Closed

Prompt hangs when trying to display text (only in Python 3) #730

amjith opened this issue Feb 10, 2018 · 2 comments

Comments

@amjith
Copy link
Contributor

amjith commented Feb 10, 2018

Steps to reproduce:

  1. Launch bpython.
  2. import requests
  3. r = requests.get('http://example.com')
  4. r.text

When I press enter the prompt simply hangs for a while and I have to kill the session with C-
This problem happens only in Python 3. It works fine when I do this with Python2.7.
I'm able to reproduce this consistently in both MacOS and Linux (Fedora).

@thomasballinger
Copy link
Member

thomasballinger commented Feb 12, 2018

I can repro in 0.17 but not in 0.16, I think this is due to some accidentallyquadratic.tumblr.com rendering code in curtsies that started being exercised a unicode path started being taken. Thanks for the straightforward repro 👍

I think this is the same as #729

@amjith
Copy link
Contributor Author

amjith commented Feb 12, 2018

Closing this since it's a duplicate of #729

@amjith amjith closed this as completed Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants