Drekin added the comment:

Glenn Linderman: Yes I have built on what the others learned. For your 
question, I made it and tested it in Python 3.3, it should also work in 3.4 and 
what I've tried, it actually works. As Terry J. Reedy says you can just load 
the module and enable the streams. I do this automatically on startup using 
sitecustomize. However as I said currently this meeses up the interactive 
session because of http://bugs.python.org/issue17620 . I have made some 
workaround – custom REPL built on stdlib module code. And also a helper script 
which runs the main script and then runs the custom REPL (I couldn't find any 
stadard hook which would run the custom REPL). I'm uploding full code. I will 
delete it if this isn't appropriate place.

Things like this could be fixed more easily if more core interpreter logic took 
place in stdlib. E. g. the code for interactive REPL. Few days ago I started 
some discussion on python ideas: 
https://mail.python.org/pipermail/python-ideas/2013-August/023000.html .

----------
Added file: http://bugs.python.org/file31770/win_unicode_console.zip

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1602>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to