Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail From: "Sven R. Kunze" Newsgroups: comp.lang.python Subject: reversed(zip(...)) not working as intended Date: Sun, 6 Mar 2016 19:29:59 +0100 Lines: 9 Message-ID: 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: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104162 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