>     goto(pos)  # absolute
> 
>     move(incr:int)  # relative to current position
> 
> negative numbers can be interpreted naturally; for move they go
> backwards, and for goto they count from the end.
> 
> This would require either a length, or a special value (None?) for at
> least one of Start and End, because 0 == -0.

I like this idea.  Define START and END as values in the "file" class.

> I'm not sure exactly how unicode
> characters even should be counted, without a normalization promise.

No one's sure.  That's why "read(N: int) => str" doesn't make sense.

Bill
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to