[Python-Dev] PEP 278 - finished?

Gustavo Niemeyer niemeyer@conectiva.com
Thu, 11 Apr 2002 16:56:35 -0300


Hi Gordon!

> How can you reliably update a file if there's no 
> obvious mapping between file position and
> character position?

If you're updating a text file, the relation is probably
about line position, not file position. AFAICS, this would
only be a problem if one wanted to insert something between
CR and LF <wink>.

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]