Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.073 X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'valueerror:': 0.09; 'subject:error': 0.09; 'received:10.2': 0.16; 'unpack': 0.16; 'header:In-Reply-To:1': 0.22; '(as': 0.31; '---': 0.31; 'values': 0.32; 'header:User-Agent:1': 0.33; 'to:addr:python-list': 0.34; 'too': 0.34; 'received:org': 0.38; 'help': 0.39; 'to:addr:python.org': 0.40; 'might': 0.40; 'your': 0.61; 'subject:day': 0.68 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=modelnine.org; s=modelnine1012; t=1323357424; bh=MUqULfyBcIaDTaQfzy9od1YgpF7KMcJqFV7+jR8RyqU=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=dGznD8WChrSVaCR0s6J+Ke2ZgQkIJj8bem74qHutSx4dqXdEAkqyi4WMFpTt80y56 gLywUmrL34+eN1avsEkBwSSduq9HP9AOlO37/8dV+rn3N1dTbYR4v2qggcQkNaAYbt 1+9co5Ep3tAx/voig2zeRBh/WrulZ0GibXHNPXew= Date: Thu, 08 Dec 2011 16:16:56 +0100 From: Heiko Wundram User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111130 Thunderbird/9.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Misleading error message of the day References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 9 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1323357938 news.xs4all.nl 6893 [2001:888:2000:d::a6]:48313 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:16835 Am 08.12.2011 15:47, schrieb Robert Kern: > Would including the respective numbers help your thought processes? > ValueError: too many values to unpack (expected 2, got 3) Not possible in the general case (as the right-hand side might be an arbitrary iterable/iterator...). -- --- Heiko.