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 isaacl
Recipients isaacl
Date 2015-08-24.03:35:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440387314.74.0.165641645143.issue24920@psf.upfronthosting.co.za>
In-reply-to
Content
OS: windows 7, python 3.4.3, tk version 8.6.1

os.get_terminal_size also fails.


>>> shutil.get_terminal_size()
Traceback (most recent call last):
  File "<pyshell#4>", line 1, in <module>
    shutil.get_terminal_size()
  File "C:\Python34\lib\shutil.py", line 1058, in get_terminal_size
    size = os.get_terminal_size(sys.__stdout__.fileno())
AttributeError: 'NoneType' object has no attribute 'fileno'
>>> os.get_terminal_size()
Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    os.get_terminal_size()
ValueError: bad file descriptor
History
Date User Action Args
2015-08-24 03:35:14isaaclsetrecipients: + isaacl
2015-08-24 03:35:14isaaclsetmessageid: <1440387314.74.0.165641645143.issue24920@psf.upfronthosting.co.za>
2015-08-24 03:35:14isaacllinkissue24920 messages
2015-08-24 03:35:14isaaclcreate