[Python-3000] Pre-PEP: Easy Text File Decoding

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 12 05:37:55 CEST 2006


Guido van Rossum wrote:
> if possible I'd like the
> guessing function to have access to what was in the file before it was
> emptied by the "create" function, or what's at the start before
> appending to the end,

Which further suggests that the encoding-guesser
needs to be fairly intimately built into some
layer of the i/o stack, and not require calling
a separate function (although it could be provided
as such in case you want to use it that way).

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list