Serhiy Storchaka added the comment:

> New patch to fix the bug seen by Serhiy.

I thought about different solution:

    try:
        if input:
            self.stdin.write(input)
    finally:
        self.stdin.close()

But your approach looks working too,

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23570>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to