<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 14 October 2017 at 16:06, Antoine Rozo <span dir="ltr"><<a href="mailto:antoine.rozo@gmail.com" target="_blank">antoine.rozo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am not searching for an external library (as I pointed, there are some on PyPI like iterutils or more-itertools).<div>My point was that recipes are documented in itertools module, but not implemented in standard library, and it would be useful to have them available.</div></div></blockquote><div><br></div>Not providing the recipes as an importable API is a deliberate design decision, as what folks often need is code that is similar-to-but-not-exactly-the-same-as the code in the recipe. If they've copied the code into their own utility library, then that's not a problem - they can just edit their version to have the exact semantics they need.</div><div class="gmail_quote"><br></div><div class="gmail_quote">Individual recipes may occasionally get promoted to be part of the module API, but that only happens on a case by case basis, and requires a compelling justification for the change ("It's sometimes useful" isn't compelling enough - we know it's sometimes useful, that's why it's listed as an example recipe).<br></div><br><div class="gmail_quote">Cheers,</div><div class="gmail_quote">Nick.<br clear="all"></div><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Nick Coghlan | <a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a> | Brisbane, Australia</div>
</div></div>