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 denilsonsa
Recipients Arfrever, amaury.forgeotdarc, denilsonsa, eric.araujo, giampaolo.rodola, loewis, neologix, pitrou, python-dev, rosslagerwall, techtonik, vstinner, zbysz
Date 2012-02-15.01:04:45
SpamBayes Score 0.00034835096
Marked as misclassified No
Message-id <CACGt9ym91u-UPwOpC579qJvoiLxm4+vyb4WRTnTC+R5p4MHZQA@mail.gmail.com>
In-reply-to <1329265061.63.0.0339432166365.issue13609@psf.upfronthosting.co.za>
Content
On Tue, Feb 14, 2012 at 22:17, Zbyszek Szmek <report@bugs.python.org> wrote:
>
> I have four small questions:
> - -1 is used as the argument meaning "try stdout and stdin".
> - Why stderr is not checked too?

I propose the following solution: accept either an integer or a
sequence of integers as the fd parameter. In the second case, try each
FD until one of them returns the terminal size.
History
Date User Action Args
2012-02-15 01:04:46denilsonsasetrecipients: + denilsonsa, loewis, amaury.forgeotdarc, pitrou, vstinner, techtonik, giampaolo.rodola, eric.araujo, Arfrever, zbysz, neologix, rosslagerwall, python-dev
2012-02-15 01:04:45denilsonsalinkissue13609 messages
2012-02-15 01:04:45denilsonsacreate