Re: [Python-3000] Some notes on newline conversion.

2008-01-01 Thread Alexandre Vassalotti
On Jan 1, 2008 12:15 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I thought PEP 3016 spells out all the details necessary. And the > docstring for open() in io.py as well. Aren't those enough? > Oh, indeed. I didn't remark that PEP 3116 had a section about newline conversion. It's my mistake

Re: [Python-3000] Some notes on newline conversion.

2008-01-01 Thread Guido van Rossum
I thought PEP 3016 spells out all the details necessary. And the docstring for open() in io.py as well. Aren't those enough? On Dec 27, 2007 11:19 PM, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: > Hi, > > I had a hard time, earlier today, figuring out what was the rules for > converting newlin

[Python-3000] Some notes on newline conversion.

2007-12-27 Thread Alexandre Vassalotti
Hi, I had a hard time, earlier today, figuring out what was the rules for converting newline characters (only from the code of io.TextIOWrapper). So, I wrote some notes for myself. I don't know if there's any documentation about this yet -- that is why am posting my notes to the list. Free it to u