Message233916
| Author |
Jonitis |
| Recipients |
BreamoreBoy, David.Sankel, Drekin, Jonitis, akira, amaury.forgeotdarc, christian.heimes, christoph, davidsarah, ezio.melotti, flox, giampaolo.rodola, hippietrail, lemburg, mark, mhammond, ncoghlan, pitrou, santoso.wijaya, smerlin, ssbarnea, steve.dower, stijn, terry.reedy, tim.golden, tzot, v+python, wiz21 |
| Date |
2015年01月13日.09:25:14 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1421141115.32.0.200866683942.issue1602@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|