Message125942
Note: Michael Kaplan's code checks whether GetConsoleMode failed due to ERROR_INVALID_HANDLE. My code intentionally doesn't do that, because it is correct and conservative to fall back to the non-console behaviour when there is *any* error from GetConsoleMode. (It could also fail due to not having the GENERIC_READ right on the handle, for example.) |
|
Date |
User |
Action |
Args |
2011-01-10 22:23:00 | davidsarah | set | recipients:
+ davidsarah, lemburg, tzot, amaury.forgeotdarc, pitrou, vstinner, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, ssbarnea, brian.curtin, David.Sankel |
2011-01-10 22:22:59 | davidsarah | set | messageid: <1294698179.99.0.135706672365.issue1602@psf.upfronthosting.co.za> |
2011-01-10 22:21:59 | davidsarah | link | issue1602 messages |
2011-01-10 22:21:59 | davidsarah | create | |
|