On 2/26/07, Mike Verdone <[EMAIL PROTECTED]> wrote: > Text I/O > The text I/O layer provides functions to read and write strings from > streams. Some new features include universal newlines and character > set encoding and decoding. The Text I/O layer is defined by a > TextIOBase abstract base class. It provides several methods that are > similar to the BufferIOBase methods, but operate on a per-character > basis instead of a per-byte basis. These methods are:
"per-character" needs some clarification. I'm guessing this will only return entire code points, but the unicode type will expose them as code units, so it could be seen as both per-code-point and per-code-unit. To be really pedantic, neither of them are truly "per-character" in unicode parlance, despite the fact that they store "character data". -- Adam Olsen, aka Rhamphoryncus _______________________________________________ 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