Message233916
Drekins module at https://github.com/Drekin/win-unicode-console is great, but there is small issue with it when running within debugger in Visual Studio (Python Tools for Visual Studio 2.1 installed). Debugger already wraps stdout and stderr inside the visualstudio_py_debugger._DebuggerOutput wrapper and it does not have the fileno() method which win-unicode-console stream.py check_stream() expects. I've created potential fix for it at https://github.com/Drekin/win-unicode-console/pull/4/commits that checks whether object has old_out and uses it to get to fileno. There might be much more robust ways to check for wrappers. I just wanted to make you aware, if this code will be used as basis for Python 3.5. |
|
Date |
User |
Action |
Args |
2015-01-13 09:25:15 | Jonitis | set | recipients:
+ Jonitis, lemburg, mhammond, terry.reedy, tzot, amaury.forgeotdarc, ncoghlan, pitrou, giampaolo.rodola, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, hippietrail, ssbarnea, flox, davidsarah, santoso.wijaya, akira, BreamoreBoy, David.Sankel, smerlin, Drekin, steve.dower, wiz21, stijn |
2015-01-13 09:25:15 | Jonitis | set | messageid: <1421141115.32.0.200866683942.issue1602@psf.upfronthosting.co.za> |
2015-01-13 09:25:15 | Jonitis | link | issue1602 messages |
2015-01-13 09:25:14 | Jonitis | create | |
|