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 Arfrever, dmalcolm, martin.panter, pitrou, python-dev, rosslagerwall, serhiy.storchaka, vstinner
Date 2015-03-01.13:48:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425217723.62.0.964041600428.issue21619@psf.upfronthosting.co.za>
In-reply-to
Content
When you write to the file you don't want the error was silently ignored.

    with open(filename, 'w') as f:
        f.write(content)

And also I don't want the error was silently ignored when write to the subprocess.

    with subprocess.Popen(cmd, universal_newlines=True, stdin=subprocess.PIPE) as p:
        p.stdin.write(content)
History
Date User Action Args
2015-03-01 13:48:43serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, Arfrever, dmalcolm, rosslagerwall, python-dev, martin.panter
2015-03-01 13:48:43serhiy.storchakasetmessageid: <1425217723.62.0.964041600428.issue21619@psf.upfronthosting.co.za>
2015-03-01 13:48:43serhiy.storchakalinkissue21619 messages
2015-03-01 13:48:43serhiy.storchakacreate