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 Arfrever
Recipients Arfrever, denilsonsa, vstinner, zbysz
Date 2012-05-17.17:21:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337275274.3.0.172049776796.issue14841@psf.upfronthosting.co.za>
In-reply-to
Content
$ stty size | cat
46 157
$ python3.3 -c 'import os; print(os.get_terminal_size())' | cat
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OSError: [Errno 22] Invalid argument

Redirection to `less` are often used.

A proposed patch was attached by Victor Stinner in issue #13609.
History
Date User Action Args
2012-05-17 17:21:14Arfreversetrecipients: + Arfrever, vstinner, zbysz, denilsonsa
2012-05-17 17:21:14Arfreversetmessageid: <1337275274.3.0.172049776796.issue14841@psf.upfronthosting.co.za>
2012-05-17 17:21:13Arfreverlinkissue14841 messages
2012-05-17 17:21:13Arfrevercreate