On 19 October 2013 23:54, Brett Cannon <br...@python.org> wrote: >> I don't follow this logic. There's now not even an existence check for the >> base name, so it reads to me like we will look for all the possible init >> file extensions even if there's *no* directory with an appropriate name. >> >> What am I missing? > > > ``if cache_module in cache:``, the line above the _path_join() call and the > guard that blocks the entire package search.
Ah, that's what I get for reviewing diffs on my phone and hence not looking up the full context :) Thanks for the clarification. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com