]> granicus.if.org Git - python/commit
In rseponse to bug# 1029, force the newline default for StringIO to "\n",
authorGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 18:31:16 +0000 (18:31 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 29 Aug 2007 18:31:16 +0000 (18:31 +0000)
commite86254e2560250ce958330433488ba092ca8ffea
treea9493cfbe89e9a344e25ecbf8f6526c199a552cb
parent5f7b087f6685e1f5ee1815781566834d62831982
In rseponse to bug# 1029, force the newline default for StringIO to "\n",
so that even on Windows, after s.write("x\n"), s.getvalue() == "x\n".
Lib/io.py