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

Juancarlo Añez apalala at gmail.com
Sat Jul 19 13:49:58 CEST 2014


On Sat, Jul 19, 2014 at 3:48 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:

> Python isn't Unix, and Python has never supported \0 as a "line
> ending". Changing the meaning of existing constructs is fraught with
> complexity, and should only be done when there is absolutely no
> alternative. In this case, there's an alternative: a new method,
> specifically for reading arbitrary records.
>

"practicality beats purity."

http://legacy.python.org/dev/peps/pep-0020/


-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140719/caaacb6d/attachment.html>


More information about the Python-ideas mailing list