[Import-SIG] PEP 420 issue: extend_path
ncoghlan at gmail.com
Fri May 11 02:09:41 CEST 2012
How is starting an accumulator and returning it unconditionally *more*
complicated than "if you don't find any portions return None".
"Why should I do that, what happens if I just return my empty container
"Oh, that's the same as returning None."
It makes no sense. We *have* to handle the empty iterator case regardless.
Allowing None *as well* is just plain redundant.
Sent from my phone, thus the relative brevity :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Import-SIG