Problem description:
The character () terminates the console in Python Repls. It is displayed when the program ends however it seems that it also ends the program.
Expected behavior:
I can enter any unicode character without ending a Repl.
Actual behavior:
The character ends my Repl.
Steps to reproduce:
Create a Python Repl which asks for user input. I used the simple code while True: input() to demonstrate.
Browser: Firefox OS: Arch Linux Device (Android, iOS, NA leave blank): HP EliteDesk G2 SFF Desktop app version (Avatar menu->“Version”) or NA: NA Plan (Free, Hacker, Pro Plan): Hacker
My guess is that you’re sending it to the VM, and the client checks for this private use character (probably used for ending the client stream), and ends the client session.
The thing is, your code will continue running after you print or input the character, it just Visually looks like it stopped.
I mentioned this a while back as well:
Thank you for bringing this to our attention. We are working on changes to the console and its behavior, which solve this issue. We don’t have an ETA on when these changes will be out, however.