Author tim.golden
Recipients amaury.forgeotdarc, andersjm, brotch, gregcouch, jnoller, kcwu, mclausch, ocean-city, terry.reedy, tim.golden, xianyiteng
Date 2010-08-08.17:26:01
SpamBayes Score 0.000408104
Marked as misclassified No
Message-id <>
To confirm the situation on 3.x: a unicode string with non-ascii-encodable characters is fine. The easy test here in the uk is a pound sign:

import subprocess

FILENAME = "abc£.bat"
FILENAME.encode ("ascii")
# UnicodeEncodeError
with open (FILENAME, "w") as f:
  f.write ("echo hello\n") ([FILENAME])
# "hello" output as expected


So no action for 3.x. I'm sympathetic (in principle) to making a change to 2.7 but I haven't looked over the "competing" patches and assessed the ins-and-outs.
Date User Action Args
2010-08-08 17:26:06tim.goldensetrecipients: + tim.golden, terry.reedy, amaury.forgeotdarc, gregcouch, andersjm, ocean-city, mclausch, brotch, kcwu, jnoller, xianyiteng
2010-08-08 17:26:05tim.goldensetmessageid: <>
2010-08-08 17:26:02tim.goldenlinkissue1759845 messages
2010-08-08 17:26:01tim.goldencreate