[New-bugs-announce] [issue34727] Windows/2.7.15 IOError [Errno 0] when user interacts with cmd console

cowlinator report at bugs.python.org
Tue Sep 18 15:54:36 EDT 2018


New submission from cowlinator <cowlinator at gmail.com>:

I can consistently reproduce a bug in 2.7.15 on Windows which causes an unexpected IOError.

Steps to reproduce:

Enter the following code in a plain-vanilla windows command line console:

>>> import sys
>>> while True:
...     sys.stdout.write('.')

Then, pause the output, either by clicking and holding the scrollbar for 10 seconds, or by highlighting text with the mouse for 10 seconds and then pressing 'enter' to un-highlight.
Upon resuming, the following error is seen:

Traceback (most recent call last):
  File "<stdin>", line 2, in <module>
IOError: [Errno 0] Error

----------
components: IO, Windows
messages: 325676
nosy: cowlinator, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows/2.7.15 IOError [Errno 0] when user interacts with cmd console
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34727>
_______________________________________


More information about the New-bugs-announce mailing list