[Python-Dev] PEP 385: the eol-type issue

Antoine Pitrou solipsis at pitrou.net
Thu Aug 6 13:42:03 CEST 2009


M.-A. Lemburg <mal <at> egenix.com> writes:
> 
> Sure, but the code for line splitting is not really all that
> complicated (see PyUnicode_Splitlines()), so could easily
> be adapted to work on buffers directly.

Certainly indeed. It all comes down to compatibility with the original
implementation.
(PEP 3116 itself is vague on the subject, but it didn't come to me to question
the validity of the Python implementation, I admit)

Regards

Antoine.




More information about the Python-Dev mailing list