2011/7/6 Nick Coghlan <[email protected]>:
> On Thu, Jul 7, 2011 at 11:16 AM, Benjamin Peterson <[email protected]> 
> wrote:
>> 2011/7/6 Victor Stinner <[email protected]>:
>>> codecs.open() will be changed to reuse the builtin open() function
>>> (TextIOWrapper).
>>
>> This doesn't strike me as particularly backwards compatible, since
>> you've just enumerated the differences between StreamWriter/Reader and
>> TextIOWrapper.
>
> The API of the resulting object is the same (i.e. they're file-like
> objects). The behavioural differences are due to cases where the
> codec-specific classes are currently broken.

Yes, but as we all know too well, people are surely relying on
whatever behavior there is, broken or not.



-- 
Regards,
Benjamin
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to