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

Chris Angelico rosuav at gmail.com
Sun Jul 20 03:31:10 CEST 2014


On Sun, Jul 20, 2014 at 11:23 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> At present, I'm genuinely unclear on
> why someone would ever want to pass the "-0" option to the other UNIX
> utilities, which then makes it very difficult to have a sensible
> discussion on how we should address that use case in Python.

That one's easy. What happens if you use 'find' to list files, and
those files might have \n in their names? You need another sep.

ChrisA


More information about the Python-ideas mailing list