-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Allow more Unicode on sys.stdout #37202
Comments
This patch extends the set of Unicode strings that can To do that:
To find the encoding of the terminal, it
The primary rationale for this change is that people |
Logged In: NO I like the .encoding concept. I don't really like the sys.stdout wrapper. Wouldn't it be |
Logged In: YES I have considered implementing it in the file object. It is not clear at which point the file encoding should be |
Logged In: YES I think it could work by adding a special case to I see no other way, since you can't place the .encoding |
Logged In: YES I've attached a revised version which implements your In its current form, the file encoding is only applied in |
Logged In: YES Is the patch now acceptable? |
Logged In: YES Looks ok except for the direct hacking |
Logged In: YES In stdout3.txt, PyFile_SetEncoding has been added, wrapping |
Logged In: YES Any chance that this can go into 2.3b2? |
Logged In: YES Sorry for not getting back to you on this earlier. stdout3.txt looks OK. Please check it in. Thanks ! |
Logged In: YES Committed as concrete.tex 1.25 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: