Message94888
different eol when writing to fp = codecs.open(.., 'w', 'cp866')
(windows, python-2.6.4)
def write(fp):
fp.write("""\
a
""")
# eol=0d0a (windows, python-2.6.4)
with open('0d0a.tmp', 'w') as fp:
write(fp)
# eol=0d0a (windows, python-2.6.4)
with codecs.open('0d0a-codecs.tmp', 'w') as fp:
write(fp)
# --- BUG ---
# eol=0a (windows, python-2.6.4)
with codecs.open('0a-codecs.tmp', 'w', 'cp866') as fp:
write(fp) |
|
Date |
User |
Action |
Args |
2009-11-04 14:13:30 | shamilbi | set | recipients:
+ shamilbi |
2009-11-04 14:13:30 | shamilbi | set | messageid: <1257344010.52.0.739143662559.issue7262@psf.upfronthosting.co.za> |
2009-11-04 14:13:29 | shamilbi | link | issue7262 messages |
2009-11-04 14:13:29 | shamilbi | create | |
|