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


Groups > comp.lang.python > #108415

Re: Is there a reason zip() wipes out data?

Path csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Is there a reason zip() wipes out data?
Date Sun, 08 May 2016 23:06:06 -0700
Organization A noiseless patient Spider
Lines 5
Message-ID <87twi76a0h.fsf@jester.gateway.pace.com> (permalink)
References <ngp34a$m4i$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain
Injection-Info mx02.eternal-september.org; posting-host="6f8cc70e6892455e89d230a40ec2704b"; logging-data="4716"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lw+LTBcJKA+ghYvYGZI4A"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Cancel-Lock sha1:XqwvkHgl3JJrec5FbAQ3wvIJSmE= sha1:s3+gZpTf9SVpTF0vlEthY9//Z9I=
Xref csiph.com comp.lang.python:108415

Show key headers only | View raw


DFS <nospam@dfs.com> writes:
> Edit: I see they addressed this in 3.5 (maybe earlier), with an option:
> "itertools.zip_longest(*iterables, fillvalue=None)

This is available in 2.7 as itertools.izip_longest

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


Thread

Is there a reason zip() wipes out data? DFS <nospam@dfs.com> - 2016-05-09 00:22 -0400
  Re: Is there a reason zip() wipes out data? Dan Sommers <dan@tombstonezero.net> - 2016-05-09 04:29 +0000
  Re: Is there a reason zip() wipes out data? Paul Rubin <no.email@nospam.invalid> - 2016-05-08 23:06 -0700

csiph-web