Message236964
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) |
|
Date |
User |
Action |
Args |
2015-03-01 13:48:43 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, vstinner, Arfrever, dmalcolm, rosslagerwall, python-dev, martin.panter |
2015-03-01 13:48:43 | serhiy.storchaka | set | messageid: <1425217723.62.0.964041600428.issue21619@psf.upfronthosting.co.za> |
2015-03-01 13:48:43 | serhiy.storchaka | link | issue21619 messages |
2015-03-01 13:48:43 | serhiy.storchaka | create | |
|