Richard Oudkerk added the comment:

On 07/04/2013 9:02pm, Caitlin Potter wrote:
> I'm not entirely positive that it would be doable, but looking at the
> subprocess code, it looks like we do have an open handle to the windows
> stdout buffer, including buffer attributes, so it should be possible to
> translate coloured attributes into ANSI codes,

The handle for stdout is just the readable end of a pipe.  It is not a 
console, GetConsoleScreenBufferInfo() will not work with it, and there 
are no coloured attributes associated with it.

----------

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

Reply via email to