Message55341
| Author |
alexandre.vassalotti |
| Recipients |
alexandre.vassalotti, amaury.forgeotdarc |
| Date |
2007年08月27日.22:38:50 |
| SpamBayes Score |
0.025284916 |
| Marked as misclassified |
No |
| Message-id |
<1188254330.68.0.752574943468.issue1029@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> That's why the current behaviour is not correct: When I write('\n'),
> getvalue() currently returns '\r\n'.
Oh, I missed your example in your initial message. So yes, I agree that
StringIO shouldn't translate newlines like that. I attached a patch that
should fix the bug.
However, I would favor removing the "newline" keyword argument, instead. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月27日 22:38:50 | alexandre.vassalotti | set | spambayes_score: 0.0252849 -> 0.025284916 recipients:
+ alexandre.vassalotti, amaury.forgeotdarc |
| 2007年08月27日 22:38:50 | alexandre.vassalotti | set | spambayes_score: 0.0252849 -> 0.0252849 messageid: <1188254330.68.0.752574943468.issue1029@psf.upfronthosting.co.za> |
| 2007年08月27日 22:38:50 | alexandre.vassalotti | link | issue1029 messages |
| 2007年08月27日 22:38:50 | alexandre.vassalotti | create |
|