[I18n-sig] Modified open() builtin (Re: Python Character Model)

Paul Prescod paulp@ActiveState.com
Mon, 12 Feb 2001 16:17:11 -0800


Tim Peters wrote:
> 
> [Paul Prescod]
> > It has nothing to do with awareness of il8n issues. The fundamental
> > question is whether you expect to get text back from a read() or binary.
> 
> C already addresses that distinction ("r" vs "rb" open modes).

Python is documented as only using the distinction to handle line ends.
We want to create totally different object types based on the flag.

 Paul Prescod