Path: csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'cpython': 0.05; 'versions.': 0.07; 'cc:addr:python-list': 0.09; 'script,': 0.09; 'python': 0.10; '"this': 0.13; '23,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'versions),': 0.16; 'wrote:': 0.16; 'usability': 0.18; 'version.': 0.18; 'people,': 0.20; 'versions': 0.20; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'am,': 0.23; 'code.': 0.23; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'message- id:@mail.gmail.com': 0.27; '(new': 0.29; 'mode.': 0.29; "i'm": 0.30; 'code': 0.30; 'older': 0.32; 'running': 0.34; 'add': 0.34; 'received:google.com': 0.35; 'newer': 0.35; 'requiring': 0.35; 'skip:> 10': 0.35; 'subject:: ': 0.37; 'test': 0.39; 'some': 0.40; 'easy': 0.60; 'your': 0.60; 'telling': 0.61; 'more.': 0.63; 'between': 0.65; 'oldest': 0.66; "they're": 0.66; 'talking': 0.67; 'august': 0.75; '3.4': 0.84; '3.6': 0.84; 'chrisa': 0.84; 'cuts': 0.84 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:to :cc:content-type; bh=1tEeZYA1VWKAB+yey9iq1G0FIGsKdloNyNgT0U7EZBc=; b=URi2bEjIpNrfa3R6I0ZWvOVvbQQhLU2Zrhb2s+P5pzRwuQASk27nXCPrfkJP2lIyWJ 5WYhtMK37lGazZkjJhKEXK360yB2hWZKeao7P9+nY8znu7urYUVMnGTxHGpk3BVB5W7a zx2mKfZ4uttsVHl4ypFR9bqjl829ynDvDZ2zwZUIvuFt6BYnUHj0UEDYwoWdiP6HkY34 ffPz+9EiPCG7Gl1cXgxmJK9yroZlrSGSOW8N59Suy6+BhaHOzaoIxqve+/doqgYtXA26 OjtA7wFcNXPAHBzSXOt3qZiAJEx8J1lj4WI6UzoQwmGQ07jdQovLA4Xbm1JNJQjXw1xY mprw== MIME-Version: 1.0 X-Received: by 10.50.143.37 with SMTP id sb5mr9869131igb.13.1440293721854; Sat, 22 Aug 2015 18:35:21 -0700 (PDT) In-Reply-To: References: <2a6a9035-33bb-42a0-a034-027fbb873872@googlegroups.com> <55D8AC8C.7040307@timgolden.me.uk> Date: Sun, 23 Aug 2015 11:35:21 +1000 Subject: Re: Bug! From: Chris Angelico To: Simon Ward Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1440293730 news.xs4all.nl 23782 [2001:888:2000:d::a6]:55498 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95575 On Sun, Aug 23, 2015 at 11:22 AM, Simon Ward wrote: > > > On 23 August 2015 00:06:44 BST, Chris Angelico wrote: >>Precisely. Every time you support multiple versions of some >>dependency, you have to test your code on all of them, and in the >>common case (new features added in newer versions), you have to target >>the oldest and weakest version. > > Just don't add features to older versions. They're in maintenance or bugfix mode. That's not what I'm talking about... I'm talking about multiple versions of a dependency. If I write a Python script, and tell people "this requires CPython 3.6 running on Linux" because that's what I run... it's not going to be easy to use. Telling people that it requires Python 3.4 or newer cuts out a lot of people, requiring 3.3 or better is going to include a lot more. It's a tradeoff between usability and cleanliness of code. ChrisA