Re: PEP 420 issue: extend_path

"Eric V. Smith" <[email protected]>
Newsgroups gmane.comp.python.import
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.