Jelle Zijlstra <jelle.zijls...@gmail.com> added the comment:

The value 12 is hardcoded here: 
https://github.com/python/cpython/blob/a89c29fbcc7e7e85848499443d819c3fab68c78a/Objects/stringlib/split.h#L14

The comment there says that this is because most .split() calls are on lines of 
human-readable text, which has about 11 words per line. I don't know if I 
believe that.

----------
nosy: +JelleZijlstra

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

Reply via email to