Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Erik Newsgroups: comp.lang.python Subject: Re: I'm missing something here... Date: Mon, 11 Jan 2016 23:55:23 +0000 Lines: 10 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de /BQ7bsMy1mX22Ti0YZQcygYZSQD/yCeDFT6Dg+/kBl7w== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'executed': 0.07; 'subject:missing': 0.07; 'complaining': 0.09; 'argument': 0.15; 'from:addr:python': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'skip': 0.18; 'to:2**1': 0.21; 'header:In- Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'that,': 0.34; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'skip:p 20': 0.38; 'why': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'body': 0.61; 'charset:windows-1252': 0.62; "'for'": 0.84; 'to:name:python': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=H98muLsi c=1 sm=1 tr=0 a=Ypmeq7T0cKALDUsRPCToMg==:117 a=Ypmeq7T0cKALDUsRPCToMg==:17 a=0Bzu9jTXAAAA:8 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=EBOSESyhAAAA:8 a=N659UExz7-8A:10 a=yL96YH7dK0K4GtWgnQ0A:9 a=pILNOxqGKmIA:10 a=ioXuHyjIX0AA:10 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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:101499 On 11/01/16 23:26, Skip Montanaro wrote: > If I change the last line of find_problems to call > prob_dates.update(), the message disappears. Why is pylint (1.4.2 BTW) > complaining that the prob_dates argument of find_problems is unused > when I use the |= operator? Is it complaining about that, or is it because the 'for' loop body might be executed zero times? E.