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


Groups > comp.lang.python > #104162

reversed(zip(...)) not working as intended

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From "Sven R. Kunze" <srkunze@mail.de>
Newsgroups comp.lang.python
Subject reversed(zip(...)) not working as intended
Date Sun, 6 Mar 2016 19:29:59 +0100
Lines 9
Message-ID <mailman.260.1457289003.20602.python-list@python.org> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de 16OZqgH6jIc5+HzRqmYXCA4+qtS3uaCqiZxnEM51y0vQ==
Return-Path <srkunze@mail.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.050
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; 'raises': 0.07; 'subject:not': 0.11; 'received:io': 0.16; 'received:psf.io': 0.16; 'reversed': 0.16; 'related': 0.32; 'handle': 0.34; 'received:10.0': 0.34; 'best,': 0.35; 'to:addr:python-list': 0.36; 'received:10': 0.37; 'hi,': 0.38; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'strange': 0.63
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d=mail.de; s=mail201212; t=1457289000; bh=x07IHwUz0tJjCBJrGnOxJ8C3GTCxWGQxJM4+LvxTOEU=; h=To:From:Subject:Date:From; b=dv74NDAS978zg/TizFayy41kcVXAo7na0UIh9ty0nh8RJZ/zCB8qCXVUUiTNdggdS j/kzMpHdWknax/ZQhYw35dcufRPuMpMqwATjaagpBs7quhKBL+NYz52pF1CKEUd8+p omrW0zBVCE6WzQG+OYz108VuobUHEroPYZeUIWCw=
X-purgate clean
X-purgate This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate-type clean
X-purgate-Ad Categorized by eleven eXpurgate (R) http://www.eleven.de
X-purgate This mail is considered clean (visit http://www.eleven.de for further information)
X-purgate clean
X-purgate-size 177
X-purgate-ID 154282::1457289000-000009F3-837B27E1/0/0
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.21
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:104162

Show key headers only | View raw


Hi,

what's the reason that reversed(zip(...)) raises as a TypeError?

Would allowing reversed to handle zip and related functions lead to 
strange errors?

Best,
Sven

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


Thread

reversed(zip(...)) not working as intended "Sven R. Kunze" <srkunze@mail.de> - 2016-03-06 19:29 +0100

csiph-web