This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davidsarah
Recipients David.Sankel, amaury.forgeotdarc, brian.curtin, christian.heimes, christoph, davidsarah, ezio.melotti, lemburg, mark, pitrou, ssbarnea, tim.golden, tzot, v+python, vstinner
Date 2011-01-10.22:21:59
SpamBayes Score 1.0939914e-06
Marked as misclassified No
Message-id <1294698179.99.0.135706672365.issue1602@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2011-01-10 22:23:00davidsarahsetrecipients: + 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:59davidsarahsetmessageid: <1294698179.99.0.135706672365.issue1602@psf.upfronthosting.co.za>
2011-01-10 22:21:59davidsarahlinkissue1602 messages
2011-01-10 22:21:59davidsarahcreate