Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4a.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'distributing': 0.07; 'friday,': 0.09; 'pep': 0.09; 'subject:language': 0.09; 'subject:string': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'assume': 0.14; '2.7': 0.14; '(assuming': 0.16; '3.3,': 0.16; '9:20': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'reinstated': 0.16; 'skipping': 0.16; 'subject:generation': 0.16; 'subject:random': 0.16; 'wrote:': 0.18; 'trying': 0.19; '>>>': 0.22; 'code,': 0.22; 'platforms': 0.22; 'aug': 0.22; 'cc:addr:python.org': 0.22; "aren't": 0.24; 'paul': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'supported': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'that.': 0.31; 'agreed.': 0.31; 'another.': 0.31; 'anyone': 0.31; 'linux': 0.33; 'fri,': 0.33; 'actual': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'library.': 0.36; "i'll": 0.36; 'should': 0.36; 'being': 0.38; 'issue': 0.38; 'pm,': 0.38; 'most': 0.60; 'august': 0.61; 'more': 0.64; 'worth': 0.66; 'here': 0.66; 'adoption': 0.84; 'batchelder': 0.84; 'presumably': 0.84; '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=7aXYgraU38HFWTKrzcuNInnPEUDNYnnew6xVDgi9JtE=; b=x6g75GkdWpQ5hIM0pJqTP66Rqkk1SCfHJNpb76PdAjjgYZQHG8WNpRkA/a8nYELHIl /QxshD+GAlgObANTFSCH031jmQs01QNhOPUZnr+jXM4cNiybWO87EtM7ynSMdqASb1T+ k/1rCeem5qv3N5q/AvQRpsig1zYdHxMEdsKvEf5XOITp7P6aMjokfYEP8oJk8SWoJaXo DHTpWdOPYrjdn5v9ZfPVEtBTDaxVzY83NuDaNIFrTpRFfDAHIuEp08/QoPjbP1cKDlBt 9Oqs6TbyMj8vUIOO/J0WJr3M1PN/KGi6uuN/eh8mtKkdHBkn8APIO2Fu/IOrYAqnY+m/ +GBg== MIME-Version: 1.0 X-Received: by 10.42.230.212 with SMTP id jn20mr10952061icb.59.1407497349248; Fri, 08 Aug 2014 04:29:09 -0700 (PDT) In-Reply-To: References: <14d94692-2257-4dfb-a82f-f1674a839233@googlegroups.com> <1fc4393c-7d70-495e-ac10-a51acfb56d99@googlegroups.com> Date: Fri, 8 Aug 2014 21:29:09 +1000 Subject: Re: Template language for random string generation 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1407497357 news.xs4all.nl 2842 [2001:888:2000:d::a6]:57340 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:75877 On Fri, Aug 8, 2014 at 9:20 PM, Ned Batchelder wrote: > On 8/8/14 5:42 AM, Paul Wolf wrote: >> >> On Friday, 8 August 2014 10:22:33 UTC+1, Chris Angelico wrote: >>> >>> But I eyeballed your code, and I'm seeing a lot of >>> u'string' prefixes, which aren't supported on 3.0-3.2 (they were >>> reinstated in 3.3 as per PEP 414), so a more likely version set would >>> >>> be 2.6+, 3.3+. What's the actual version support? >>> ChrisA >> >> >> I'm going to have to assume you are right that I only tested on 3.3, >> skipping > 2.7 and < 3.3. I'll create an issue for that. >> > > Don't bother trying to support <=3.2. It will be far more difficult than it > is worth in terms of adoption of the library. Agreed. I would be looking at the solution here being "test on 3.4, then (assuming no problems) declare that it works on 3.3+". Anyone on Debian Wheezy can spin up a Python 3 from source anyway, and presumably ditto for any other Linux distro that's distributing 3.1 or 3.2; most other platforms should have a more modern Python available one way or another. ChrisA