Closed GoogleCodeExporter closed 9 years ago
Thanks for the report, I'll check it out. If anyone has any idea whether I
should be able to call the above win32 functions from Pypy, I'd appreciate any
pointers.
Original comment by Jonat...@rangespan.com
on 17 Jun 2011 at 4:13
These asserts were failing for at least three users in different circumstances,
and one person reports that although the win32 functions returned
'success=False', they had apparently succeeded because colored text was
visible. So I've removed the asserts. This might pass now, or worst case,
silently fail instead of raising.
Original comment by tart...@gmail.com
on 20 Jun 2011 at 3:40
[deleted comment]
I still get these warnings on PyPy 1.6
path\to\colorama\win32.py:17: RuntimeWarning: C function without declared
arguments called
STDOUT: windll.kernel32.GetStdHandle(STDOUT),
path\to\colorama\win32.py:18: RuntimeWarning: C function without declared
arguments called
STDERR: windll.kernel32.GetStdHandle(STDERR),
path\to\colorama\win32.py:64: RuntimeWarning: C function without declared
arguments called
handle, byref(csbi))
path\to\colorama\win32.py:70: RuntimeWarning: C function without declared
arguments called
return windll.kernel32.SetConsoleTextAttribute(handle, attrs)
Original comment by Gui...@gmail.com
on 18 Jul 2012 at 6:50
Note that colored text seems to be correctly displayed.
Original comment by Gui...@gmail.com
on 18 Jul 2012 at 6:51
Original issue reported on code.google.com by
nepp...@gmail.com
on 17 Jun 2011 at 2:25