Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:error': 0.03; 'argument': 0.05; 'correct.': 0.07; 'subject:using': 0.09; 'thrown': 0.09; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'is;': 0.16; 'lower-case': 0.16; 'uppercase': 0.16; 'exception': 0.16; 'wrote:': 0.18; 'looked': 0.18; 'wed,': 0.18; 'normally': 0.19; 'passing': 0.19; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'error': 0.23; 'regardless': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'second': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'subject:list': 0.30; 'message-id:@mail.gmail.com': 0.30; 'easier': 0.31; '"do': 0.31; 'releasing': 0.31; 'bugs': 0.33; 'older': 0.33; 'one,': 0.35; 'received:google.com': 0.35; 'like,': 0.36; 'hi,': 0.36; '12,': 0.39; 'release': 0.40; 'simple': 0.61; 'holding': 0.65; 'jobs': 0.68; 'below:': 0.68; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=oWS5M5CBOzWC6bi5q+Scg88P9XAuu2dm2aAUekya4Lo=; b=EorLl31i4MCghRH8vtKP8XrEP0b/29/w1VzadUAx7o52AwJmPCVKTOg5zCvQGGdOZB fwpaGAjrqF+TrrW77W1+8mqgC6NAq7JxP0pWb8QrG8HH0cLK93HjpH69TrWsi47/j7BH BNoVV3sqJhZDFiJeKcqEX0o7VpYXugH6vLtOa9URPC1nZoCWXMbIzKgMFh3Jt8wMgTSd fzW3RNsznvH4Sa7znvmVQoqynmiqQeamUfj+jIFfQHlF7pjLJ/gjotrYU2ZSIqOLVDw1 S7lIB9lWAqsYDjiCy60K/dilxnN7inWAmLTTU4igqL2mA7MLRh5q22PED9p6MS2PkvT+ 8DPg== MIME-Version: 1.0 X-Received: by 10.68.247.6 with SMTP id ya6mr44556913pbc.45.1392129675588; Tue, 11 Feb 2014 06:41:15 -0800 (PST) In-Reply-To: <20140211152730.3b99d350@hanez.org> References: <20140211152730.3b99d350@hanez.org> Date: Wed, 12 Feb 2014 01:41:15 +1100 Subject: Re: pip3.x error using LIST instead of list From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392129685 news.xs4all.nl 2904 [2001:888:2000:d::a6]:39178 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65912 On Wed, Feb 12, 2014 at 1:27 AM, Johannes Findeisen wrote: > Hi, I get the same error with an older release of pip. But, I get that > error regardless which uppercase argument I am passing to pip. Look > below: > Correct. The exception is thrown before it's looked at what the subcommand is; it happens any time the argument != argument.lower(). Simple work-around: always type subcommands in lower-case :) Much easier work-around than for some bugs I've seen. Like, printing from Win-OS/2 requires holding the print queue, printing your document, adding a second job from a smarter print client, then releasing the print queue so both jobs go through in succession. This one, the work-around is just "do what you'd normally do anyway". ChrisA