Vedran Čačić added the comment:

The problem with .split is its split (pun intended) personality: it really is 
two functions that have separate use cases, and have different algorithms; and 
people think about them as separate functions. In that view, we have just 
fallen afoul of Guido's rule of no literal passing bool arguments. The true 
solution would probably be to bite the bullet and have two separate methods. 
After all, .splitlines is a separate method for precisely such a reason.

----------
nosy: +veky

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28937>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to