Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'scripting': 0.05; 'behave': 0.07; 'pm,': 0.10; 'wrote:': 0.14; '(aka': 0.16; "(can't": 0.16; 'angelico': 0.16; 'badly.': 0.16; 'emacs': 0.16; 'emacs,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; "somebody's": 0.16; 'ssh,': 0.16; 'argument': 0.16; 'subject:list': 0.19; 'header:In-Reply-To:1': 0.21; 'received:209.85.210.174': 0.23; 'received:mail- iy0-f174.google.com': 0.23; 'code': 0.24; 'like.': 0.25; 'message- id:@mail.gmail.com': 0.28; 'broke': 0.30; 'changed.': 0.30; 'sun,': 0.30; 'to:addr:python-list': 0.33; 'list': 0.33; 'chris': 0.34; 'there': 0.35; 'sometimes,': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'worth': 0.60; 'more': 0.60; 'demand': 0.66; 'special': 0.66; '21st': 0.77; 'application?': 0.84; 'century': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qxfNVasyUyoAdum0YZYZZiAWNJQpdes79NMdJvKh3EM=; b=potdE2pA78+aAHKLc7AwKF0wIv9ppeAu57xXTc1+ianCQiGSAzCkWkfmLc8B9QUECx EIdGVoxXasisdE/V092Npbq39g5fqj1w7c6x+XvXJ38V0fkmccicpExKR7YbeNBs1RCg kGUtpJJ7p/arVhduTu3jZZ9Gutg3F9dOxcFvg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=xt5/YXOjQQck1hKURKjoNoRhOP1rMsFDypAoe+GvMR6yc9hByGKTDHesQdNi2IcUpZ Ma6wymXxUjjq4aPmxAb5J85rxzPB9XGTaGpAhov+MBl9pu7jLIcAucgVuzRVsy8nmuU2 YCAAMdqCq59NI0IMnnY5kJln9UvvEu/MzefxA= MIME-Version: 1.0 In-Reply-To: <6bf36a0d-f259-48ad-8f89-2d5688758bf6@l14g2000pro.googlegroups.com> References: <9hYwp.5805$xo2.3333@newsfe07.iad> <4dc4b351$0$29991$c3e8da3$5496439d@news.astraweb.com> <4dca90c1$0$29980$c3e8da3$5496439d@news.astraweb.com> <930j6nFi2lU1@mid.individual.net> <87r57s6riu.fsf@pobox.com> <6bf36a0d-f259-48ad-8f89-2d5688758bf6@l14g2000pro.googlegroups.com> Date: Sun, 22 May 2011 15:16:35 +1000 Subject: Re: checking if a list is empty From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 15 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1306041398 news.xs4all.nl 49182 [::ffff:82.94.164.166]:47934 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:5955 On Sun, May 22, 2011 at 2:32 PM, rusi wrote: > Recently on the emacs list there was a big flame-fest because the > behavior (aka interface) of return/newline changed. > The argument for change: Can we have emacs behave a little more like a > 21st century application? > Against: Somebody's scripting code broke badly. > > You may take any side you like. The side I take is: If you want emacs, use emacs. If you want SciTE, use SciTE. If you want nano, use nano. And sometimes, you might have special circumstances that demand a different choice (can't use SciTE over ssh, afaik), so it's worth learning more than one. Chris Angelico