Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44622

Re: Why chunks is not part of the python standard lib?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <fabiosantosart@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.012
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'subject:not': 0.03; 'subject:Why': 0.09; 'cc:addr:python-list': 0.11; 'chunks': 0.16; 'subject:python': 0.16; 'cc:addr:python.org': 0.22; 'library,': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; '&gt;': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'message- id:@mail.gmail.com': 0.30; 'subject:the': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'subject:?': 0.36; 'to:addr:gmail.com': 0.65
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=QK+5ECT2PCxpEKVpUv59yOgqAD/2xrPTRjD6AEs7XSA=; b=AXRTrAVXbbvH0Wo6SBZ9WL9yEJB9G5TU8de2aBbTEDpET2Cd63x5vCz7ddyyOxhr20 +5oA1jV3tTVWci4B4AhdfZgGJgI6zfM1oIzWCmPHvDzagMpJKHAKPhgYX7etZKZoyuoa /HvJ7t9gHfcc3IhPqRGxV8swmwhMK5oN7Mjup9qYyFeDbjLMsxPbxsvno/J5jvip2hEY Ddp5UPCMwws0AQ7CSdpNkUKnJ4VfOkXCh+j11ZGDbMt+FVlKhcC8SIZn/7LxwQ4YOzqW FPPNAFQhp+UI/Fw2MQVaRaHxFIAwN2H7piRamquX07f7/NagE0rO+GnWsu5oVb2DDsO4 A/gA==
MIME-Version 1.0
X-Received by 10.229.135.10 with SMTP id l10mr2665413qct.82.1367500000570; Thu, 02 May 2013 06:06:40 -0700 (PDT)
In-Reply-To <CAP5i+tYC+cMtseEduTm76LXkaP1Hh-Tz-_HipO7LsURtnuwtOw@mail.gmail.com>
References <CAP5i+tYC+cMtseEduTm76LXkaP1Hh-Tz-_HipO7LsURtnuwtOw@mail.gmail.com>
Date Thu, 2 May 2013 14:06:40 +0100
Subject Re: Why chunks is not part of the python standard lib?
From Fábio Santos <fabiosantosart@gmail.com>
To Ricardo Azpeitia Pimentel <razpeitia@gmail.com>
Content-Type multipart/alternative; boundary=00248c7690aac3bc5904dbbbe757
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1234.1367500009.3114.python-list@python.org> (permalink)
Lines 24
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1367500009 news.xs4all.nl 15999 [2001:888:2000:d::a6]:57172
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:44622

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

>
> Why is not a chunks function in itertools?
>

It is in more-itertools.

It's not the standard library, but it's better than rolling your own every
time you need it.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Why chunks is not part of the python standard lib? Fábio Santos <fabiosantosart@gmail.com> - 2013-05-02 14:06 +0100

csiph-web