The character () terminates the console in Python Repls. It is displayed when the program ends however it seems that it also ends the program.
I can enter any unicode character without ending a Repl.
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.
Bug appears at this link:
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:
Ah, so I am halfway right.
It’s just a visual bug!
Probably shouldn’t worry,
after all, who would use the Private-Use Chars for anything printable anyway?
Context: I like the way the character looks, so I use it as an input statement. I even made it a usable part of my primary package.
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.