[Import-SIG] PEP 420 issue: extend_path

Eric V. Smith eric at trueblade.com
Fri May 11 02:31:12 CEST 2012


On 05/10/2012 08:09 PM, Nick Coghlan wrote:
> How is starting an accumulator and returning it unconditionally *more*
> complicated than "if you don't find any portions return None".

There's no doubt in my mind that it would make zipimport more complex to
use an accumulator.

> It makes no sense. We *have* to handle the empty iterator case
> regardless. Allowing None *as well* is just plain redundant.

Okay, I find that compelling.

Eric.



More information about the Import-SIG mailing list