[Python-ideas] Iterating non-newline-separated files should be easier

Paul Moore p.f.moore at gmail.com
Tue Jul 22 19:35:58 CEST 2014


On 22 July 2014 17:05, Akira Li <4kir4.1i at gmail.com> wrote:
> The example function handles Unicode whitespace to demonstrate why
> opaque bytes-based cookies can't be used to represent filenames in this
> case even on POSIX, though which characters are recognized depends on
> sys.getfilesystemencoding().

Thanks. That's how you'd do it now.

A question for the OP: how would the proposed change improve this code?
Paul


More information about the Python-ideas mailing list