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 serhiy.storchaka
Recipients martin.panter, neologix, serhiy.storchaka, vstinner
Date 2015-03-03.13:06:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425388002.84.0.986963139017.issue23570@psf.upfronthosting.co.za>
In-reply-to
Content
> 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,
History
Date User Action Args
2015-03-03 13:06:42serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, neologix, martin.panter
2015-03-03 13:06:42serhiy.storchakasetmessageid: <1425388002.84.0.986963139017.issue23570@psf.upfronthosting.co.za>
2015-03-03 13:06:42serhiy.storchakalinkissue23570 messages
2015-03-03 13:06:42serhiy.storchakacreate