homepage

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 shamilbi
Recipients shamilbi
Date 2009年11月04日.14:13:28
SpamBayes Score 0.01775378
Marked as misclassified No
Message-id <1257344010.52.0.739143662559.issue7262@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2009年11月04日 14:13:30shamilbisetrecipients: + shamilbi
2009年11月04日 14:13:30shamilbisetmessageid: <1257344010.52.0.739143662559.issue7262@psf.upfronthosting.co.za>
2009年11月04日 14:13:29shamilbilinkissue7262 messages
2009年11月04日 14:13:29shamilbicreate

AltStyle によって変換されたページ (->オリジナル) /